[PATCH] D18126: Port InstrProfiling pass to new pass manager

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 16:30:40 PDT 2016


silvas added a subscriber: silvas.

================
Comment at: lib/Transforms/Instrumentation/InstrProfiling.cpp:34
@@ -33,2 +33,3 @@
 
-class InstrProfiling : public ModulePass {
+class InstrProfilingLegacyWrapperPass : public ModulePass {
+  InstrProfiling InstrProf;
----------------
davidxl wrote:
> chandlerc wrote:
> > This isn't a wrapper pass. Those are passes that wrap an analysis result. This is just a transformation pass.
> ok.
Do we have this documented anywhere? I feel like I would have made the same mistake.


http://reviews.llvm.org/D18126





More information about the llvm-commits mailing list