[PATCH] D112063: [lld][ELF] Add first bits to support relocation relaxations for AArch64
Wilco Dijkstra via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 9 06:06:45 PST 2021
Wilco1 added a comment.
If the checks are done as described in the ABI, it is not possible for a valid program to behave differently. A linker option to disable relaxations might be useful as it allows one to measure linker overhead and performance gains. If the extra pass over relocations creates a noticeable overhead then it may be feasible to integrate it with another pass. Eg. ld does a pass to count how many GOT entries are required, so the validity checks for GOT relaxation are basically for free.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112063/new/
https://reviews.llvm.org/D112063
More information about the llvm-commits
mailing list