[llvm] [BOLT][AArch64] Detect veneers with missing data markers (PR #142069)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Thu May 29 19:15:01 PDT 2025
================
@@ -1341,6 +1341,19 @@ void RewriteInstance::discoverFileObjects() {
}
}
}
+
+ // The linker may omit data markers for absolute long veneers. Introduce
+ // those markers artificially to assist the disassembler.
+ for (BinaryFunction &BF :
+ llvm::make_second_range(BC->getBinaryFunctions())) {
+ if (BF.getOneName().starts_with("__AArch64AbsLongThunk_") &&
----------------
maksfb wrote:
The linker creates them, so - yes.
https://github.com/llvm/llvm-project/pull/142069
More information about the llvm-commits
mailing list