diff options
Diffstat (limited to 'lib/Transforms/Instrumentation/BlockProfiling.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/BlockProfiling.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Instrumentation/BlockProfiling.cpp b/lib/Transforms/Instrumentation/BlockProfiling.cpp index 9a85fc5..859f596 100644 --- a/lib/Transforms/Instrumentation/BlockProfiling.cpp +++ b/lib/Transforms/Instrumentation/BlockProfiling.cpp @@ -35,7 +35,7 @@ namespace { bool runOnModule(Module &M); }; - RegisterOpt<FunctionProfiler> X("insert-function-profiling", + RegisterPass<FunctionProfiler> X("insert-function-profiling", "Insert instrumentation for function profiling"); RegisterAnalysisGroup<RSProfilers, FunctionProfiler> XG; @@ -81,8 +81,8 @@ namespace { bool runOnModule(Module &M); }; - RegisterOpt<BlockProfiler> Y("insert-block-profiling", - "Insert instrumentation for block profiling"); + RegisterPass<BlockProfiler> Y("insert-block-profiling", + "Insert instrumentation for block profiling"); RegisterAnalysisGroup<RSProfilers, BlockProfiler> YG; } |