[clang] [OpenMP][AIX] Add pthreads and perfstat libraries for linking static libomp.a (PR #167706)

David Tenty via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 12 09:54:52 PST 2025


================
@@ -325,10 +327,13 @@ void aix::Linker::ConstructJob(Compilation &C, const JobAction &JA,
           // Already diagnosed.
           break;
         }
+
+        CmdArgs.push_back("-lperfstat");
----------------
daltenty wrote:

Yeah, this is going to add it for the dynamic links as well, I don't know if that's a behaviour we want.

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


More information about the cfe-commits mailing list