[Lldb-commits] [lldb] [lldb] Fix auto advance PC in `EmulateInstructionARM64` if PC >= 4G (PR #151460)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 31 02:12:57 PDT 2025
================
@@ -60,3 +169,18 @@ TEST_F(TestAArch64Emulator, TestOverflow) {
ASSERT_EQ(pstate.V, 1ULL);
ASSERT_EQ(pstate.C, 0ULL);
}
+
+TEST_F(TestAArch64Emulator, TestAutoAdvancePC) {
+ Arch64EmulatorTester emu;
+ emu.memory_offset = 0x1234567800;
+ emu.gpr.pc = 0x1234567800;
----------------
DavidSpickett wrote:
I see that this would be truncated if not for this fix, but please make it a full 64-bit value so that it is as obvious as it can be.
https://github.com/llvm/llvm-project/pull/151460
More information about the lldb-commits
mailing list