[PATCH] D135384: [AIX] Enable the use of the -pg flag
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 12 20:55:28 PDT 2022
hubert.reinterpretcast accepted this revision.
hubert.reinterpretcast added a comment.
This revision is now accepted and ready to land.
LGTM with minor comment; thanks!
================
Comment at: llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp:39
+ Triple TargetTriple(M.getTargetTriple());
+ if (Func == "__mcount" && TargetTriple.isOSAIX()) {
+ Type *SizeTy = M.getDataLayout().getIntPtrType(C);
----------------
The construction for the `Triple` already did the string processing.
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