[PATCH] D151593: [MemProf] Clean up MemProf instrumentation pass invocation
Teresa Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 26 15:18:25 PDT 2023
tejohnson added inline comments.
================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:995
+ // TODO: Consider passing the MemoryProfileOutput to the pass builder via
+ // the PGOOptions, and set this up there.
----------------
vitalybuka wrote:
> if this is registerOptimizerLastEPCallback, it can be next to other sanitizers, in addSanitizers()
It could be, but while it uses the sanitizer common support, it isn't logically a sanitizer. Is there an advantage to setting it up there?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151593/new/
https://reviews.llvm.org/D151593
More information about the llvm-commits
mailing list