aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorTim Northover <t.p.northover@gmail.com>2020-07-22 14:53:26 +0100
committerTim Northover <t.p.northover@gmail.com>2020-07-27 13:01:22 +0100
commit216b67e2023315ff30c2802c911a8ae0c7640c30 (patch)
treef1922f120fb37f40936849f15c4888ec32d9e130 /lldb/source/Commands/CommandObjectProcess.cpp
parent13c9bbc28ef9cf9976a0962e6c930a7dfc52c877 (diff)
downloadllvm-216b67e2023315ff30c2802c911a8ae0c7640c30.zip
llvm-216b67e2023315ff30c2802c911a8ae0c7640c30.tar.gz
llvm-216b67e2023315ff30c2802c911a8ae0c7640c30.tar.bz2
AArch64: diagnose out of range relocation addends on MachO.
MachO only has 24-bit addends for most relocations, small enough that it can overflow in semi-reasonable functions and cause insidious bugs if compiled without assertions enabled. Switch it to an actual error instead. The condition isn't quite identical because ld64 treats the addend as a signed number.
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions