[Lldb-commits] [lldb] [lldb][test][FreeBSD] Account for spsr being 8 bytes in newer versions (PR #84032)

Ed Maste via lldb-commits lldb-commits at lists.llvm.org
Wed May 1 08:21:35 PDT 2024


================
@@ -362,7 +363,15 @@ TEST(RegisterContextFreeBSDTest, arm64) {
   EXPECT_GPR_ARM64(lr, lr);
   EXPECT_GPR_ARM64(sp, sp);
   EXPECT_GPR_ARM64(pc, elr);
+#if __FreeBSD_version >= 1400084
----------------
emaste wrote:

This will be correct when the host running the debugger is the same as the target (or at least the same version) but we should handle this based on target version

https://github.com/llvm/llvm-project/pull/84032


More information about the lldb-commits mailing list