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

Chris Bowler via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 7 14:02:11 PDT 2022


cebowleratibm added inline comments.


================
Comment at: clang/lib/Basic/Targets/OSTargets.h:754
       : OSTargetInfo<Target>(Triple, Opts) {
+    this->MCountName = "__mcount.aix";
     this->TheCXXABI.set(TargetCXXABI::XL);
----------------
Suggest sticking with the normal mcount name and remapping on the call insertion when the target is AIX.


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