The linker can convert instructions with GOTPCRELX relocations into a
form that uses an absolute addressing with an immediate. BOLT needs to
recognize such conversions and symbolize the immediates.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks! LGTM pending the test fix
bolt/lib/Target/X86/X86MCSymbolizer.cpp | ||
---|---|---|
91 | If the operand if PC-relative -> If the operand is PC-relative |
Comment Actions
Currently blocked on having trunk-built LLD available for pre-merge checks: https://github.com/google/llvm-premerge-checks/issues/401. The system LLD does not properly support --no-relax option.
bolt/lib/Core/Relocation.cpp | ||
---|---|---|
568 |
Comment Actions
Should be unblocked now as pre-merge checks should now use lld build from trunk: https://github.com/google/llvm-premerge-checks/issues/401
Retriggered pre-merge checks which came back clean.