]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
debuginfo: small code simplification
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 29 Nov 2025 20:52:00 +0000 (21:52 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 29 Nov 2025 20:52:00 +0000 (21:52 +0100)
Merge two identical cases (and there may be a third if and when
Darwin arm64 makes it here).

coregrind/m_debuginfo/debuginfo.c

index bb208925d47f062383cd865aa65d7671302fde78..3daa38a3a9f6bf9490252a10907da1b9c3b39dd9 100644 (file)
@@ -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;