From 58154e4d32bde4999899b38c48605a51ccb1776a Mon Sep 17 00:00:00 2001 From: York Jasper Niebuhr Date: Sat, 25 Oct 2025 20:48:33 +0200 Subject: [PATCH] Prevent potential issues with pinpoint plugin for unknown architectures --- pinpoint/stage1/asm_offset_pass.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pinpoint/stage1/asm_offset_pass.cpp b/pinpoint/stage1/asm_offset_pass.cpp index 248370c..5e3835f 100644 --- a/pinpoint/stage1/asm_offset_pass.cpp +++ b/pinpoint/stage1/asm_offset_pass.cpp @@ -25,6 +25,8 @@ static const char* make_asm(UID uid, S1Separator::ARCH& arch) { arch = S1Separator::X86_64; return make_asm_x86_64(uid); #else + static_assert(false, "Architecture-independent RTL recovery pass is not yet implemented"); + arch = S1Separator::NONE; return make_asm_noarch(uid); #endif