[Lldb-commits] [lldb] [lldb] Fix auto advance PC in `EmulateInstructionARM64` if PC >= 4G (PR #151460)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 7 08:39:59 PDT 2025
JDevlieghere wrote:
Seems like this is [tripping up](https://ci.swift.org/view/all/job/llvm.org/view/LLDB/job/lldb-cmake-sanitized/2038/testReport/lldb-unit/Instruction___EmulatorTests_1/16/) UBSan:
```
[----------] 1 test from TestAArch64Emulator
[ RUN ] TestAArch64Emulator.TestAutoAdvancePC
/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/unittests/Instruction/ARM64/TestAArch64Emulator.cpp:115:34: runtime error: index 1311768467463790080 out of bounds for type 'uint8_t[64]' (aka 'unsigned char[64]')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/unittests/Instruction/ARM64/TestAArch64Emulator.cpp:115:34 in
```
https://github.com/llvm/llvm-project/pull/151460
More information about the lldb-commits
mailing list