From: Paul Floyd Date: Sat, 29 Nov 2025 20:52:00 +0000 (+0100) Subject: debuginfo: small code simplification X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34b849de8406fe2b8a37083e6e153a0693de204d;p=thirdparty%2Fvalgrind.git debuginfo: small code simplification Merge two identical cases (and there may be a third if and when Darwin arm64 makes it here). --- diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c index bb208925d..3daa38a3a 100644 --- a/coregrind/m_debuginfo/debuginfo.c +++ b/coregrind/m_debuginfo/debuginfo.c @@ -3517,9 +3517,7 @@ Bool VG_(use_CF_info) ( /*MOD*/D3UnwindRegs* uregsHere, # elif defined(VGA_mips32) || defined(VGA_mips64) || defined(VGA_nanomips) ipHere = uregsHere->pc; # elif defined(VGA_ppc32) || defined(VGA_ppc64be) || defined(VGA_ppc64le) -# elif defined(VGP_arm64_linux) - ipHere = uregsHere->pc; -# elif defined(VGP_arm64_freebsd) +# elif defined(VGA_arm64) ipHere = uregsHere->pc; # elif defined(VGP_riscv64_linux) ipHere = uregsHere->pc;