[clang] [compiler-rt] [llvm] [AIX] Implement the ifunc attribute. (PR #153049)
Wael Yehia via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 12 10:46:56 PDT 2025
================
@@ -146,26 +146,9 @@ void aix::Linker::ConstructJob(Compilation &C, const JobAction &JA,
CmdArgs.push_back("-bforceimprw");
}
- // PGO instrumentation generates symbols belonging to special sections, and
- // the linker needs to place all symbols in a particular section together in
- // memory; the AIX linker does that under an option.
- if (Args.hasFlag(options::OPT_fprofile_arcs, options::OPT_fno_profile_arcs,
----------------
w2yehia wrote:
we want to pass this linker option unconditionally because we want ifunc to be supported by default (rather under an option). We hit a wrinkle in that the linker on AIX 7.2 TL5 SP4 and earlier don't support it, so we're currently debating what to do about that.
https://github.com/llvm/llvm-project/pull/153049
More information about the llvm-commits
mailing list