Basic implementation for call and jmp branches with 32 bit offset. Branches to local targets produce
Branch32 edges that are resolved like a regular PCRel32 relocations. Branches to external (undefined)
targets produce Branch32ToStub edges and go through a PLT entry by default. If the target happens to
get resolved within the 32 bit range from the callsite, the edge is relaxed during post-allocation
optimization. There is a test for each of these cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/ExecutionEngine/JITLink/X86/ELF_x86-64_relocations.s | ||
---|---|---|
65 | Such a oneshot temporary label can usually be omitted: .-test_call_extern |
Such a oneshot temporary label can usually be omitted:
.-test_call_extern