diff options
| author | Arthur Eubanks <aeubanks@google.com> | 2024-03-24 11:43:15 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-24 11:43:15 -0600 |
| commit | 48048051323d5dd74057dc5f32df8c3c323afcd5 (patch) | |
| tree | 7a00ab59c10d26c0126d7fbb1f863d8a57f6fa65 /llvm/lib/CodeGen/MachineLoopUtils.cpp | |
| parent | 9632e1515c93453efc39752b1c9f32aedd358fbc (diff) | |
| download | llvm-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
