[llvm] [BOLT][AArch64] Add support for long absolute LLD thunks/veneers (PR #113408)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 11:10:54 PST 2024
================
@@ -29,30 +29,47 @@ static llvm::cl::opt<bool>
namespace llvm {
namespace bolt {
+static bool isPossibleVeneer(const BinaryFunction &BF) {
+ return BF.isAArch64Veneer() || BF.getOneName().starts_with("__AArch64");
----------------
maksfb wrote:
We can possibly add a check later when we detect an absolute veneer, but then it should be legal to call an absolute-address function even from PIC, right?
https://github.com/llvm/llvm-project/pull/113408
More information about the llvm-commits
mailing list