[clang] [compiler-rt] [llvm] [AIX] Implement the ifunc attribute. (PR #153049)

Wael Yehia via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 30 13:19:23 PDT 2025


================
@@ -100,6 +102,13 @@ static cl::opt<bool> EnableSSPCanaryBitInTB(
     "aix-ssp-tb-bit", cl::init(false),
     cl::desc("Enable Passing SSP Canary info in Trackback on AIX"), cl::Hidden);
 
+static cl::list<std::string> IFuncLocal(
+    "ifunc-local",
----------------
w2yehia wrote:

I spoke with Sean offline, and he suggested to make it a user error to have resolvers returning non-local functions, and to change the walker in function `TOCRestoreNeededForCallToImplementation` to flag any violation it can find.

https://github.com/llvm/llvm-project/pull/153049


More information about the llvm-commits mailing list