https://sourceware.org/cgit/valgrind/commit/?id=34b849de8406fe2b8a37083e6e153a0693de204d
commit 34b849de8406fe2b8a37083e6e153a0693de204d
Author: Paul Floyd <pj...@wa...>
Date: Sat Nov 29 21:52:00 2025 +0100
debuginfo: small code simplification
Merge two identical cases (and there may be a third if and when
Darwin arm64 makes it here).
Diff:
---
coregrind/m_debuginfo/debuginfo.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c
index bb208925d4..3daa38a3a9 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;
|