[PATCH] D135384: [AIX] Enable the use of the -pg flag

Chris Bowler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 11 07:14:56 PDT 2022


cebowleratibm added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp:38
+    const std::string &targetTriple = M.getTargetTriple();
+    if (targetTriple.find("powerpc-ibm-aix") == std::string::npos ||
+        targetTriple.find("powerpc64-ibm-aix") == std::string::npos) {
----------------
Please use isOSAIX


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135384/new/

https://reviews.llvm.org/D135384



More information about the cfe-commits mailing list