aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineLoopUtils.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2024-03-24 11:43:15 -0600
committerGitHub <noreply@github.com>2024-03-24 11:43:15 -0600
commit48048051323d5dd74057dc5f32df8c3c323afcd5 (patch)
tree7a00ab59c10d26c0126d7fbb1f863d8a57f6fa65 /llvm/lib/CodeGen/MachineLoopUtils.cpp
parent9632e1515c93453efc39752b1c9f32aedd358fbc (diff)
downloadllvm-48048051323d5dd74057dc5f32df8c3c323afcd5.zip
llvm-48048051323d5dd74057dc5f32df8c3c323afcd5.tar.gz
llvm-48048051323d5dd74057dc5f32df8c3c323afcd5.tar.bz2
[lld/ELF][X86] Respect outSecOff when checking if GOTPCREL can be relaxed (#86334)
The existing implementation didn't handle when the input text section was some offset from the output section. This resulted in an assert in relaxGot() with an lld built with asserts for some large binaries, or even worse, a silently broken binary with an lld without asserts.
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions