summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/TraceValues.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/TraceValues.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/TraceValues.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/TraceValues.cpp b/llvm/lib/Transforms/Instrumentation/TraceValues.cpp
index eba596b4274..d335f16cad8 100644
--- a/llvm/lib/Transforms/Instrumentation/TraceValues.cpp
+++ b/llvm/lib/Transforms/Instrumentation/TraceValues.cpp
@@ -104,8 +104,8 @@ namespace {
};
// Register the passes...
- RegisterOpt<FunctionTracer> X("tracem","Insert Function trace code only");
- RegisterOpt<BasicBlockTracer> Y("trace","Insert BB and Function trace code");
+ RegisterPass<FunctionTracer> X("tracem","Insert Function trace code only");
+ RegisterPass<BasicBlockTracer> Y("trace","Insert BB and Function trace code");
} // end anonymous namespace
/// Just trace functions
OpenPOWER on IntegriCloud