diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-09-30 20:14:18 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-09-30 20:14:18 +0000 |
commit | b3b1e33632056459a7454f3bc3b3f142a7ea94df (patch) | |
tree | 43eeb3f8495bd6d39c2a49fb938f7545d1d25b24 /lib/Transforms/Instrumentation | |
parent | ccb87cdf07f5e3c0ac1e42467a76130bce2fbecd (diff) | |
download | external_llvm-b3b1e33632056459a7454f3bc3b3f142a7ea94df.zip external_llvm-b3b1e33632056459a7454f3bc3b3f142a7ea94df.tar.gz external_llvm-b3b1e33632056459a7454f3bc3b3f142a7ea94df.tar.bz2 |
Correct type of accessor functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation')
-rw-r--r-- | lib/Transforms/Instrumentation/TraceValues.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/Instrumentation/TraceValues.cpp b/lib/Transforms/Instrumentation/TraceValues.cpp index 1247dfc..2b1ed27 100644 --- a/lib/Transforms/Instrumentation/TraceValues.cpp +++ b/lib/Transforms/Instrumentation/TraceValues.cpp @@ -108,16 +108,16 @@ namespace { RegisterOpt<BasicBlockTracer> Y("trace","Insert BB and Function trace code"); } // end anonymous namespace - -Pass *llvm::createTraceValuesPassForFunction() { // Just trace functions +/// Just trace functions +FunctionPass *llvm::createTraceValuesPassForFunction() { return new FunctionTracer(); } -Pass *llvm::createTraceValuesPassForBasicBlocks() { // Trace BB's and functions +/// Trace BB's and functions +FunctionPass *llvm::createTraceValuesPassForBasicBlocks() { return new BasicBlockTracer(); } - // Add a prototype for external functions used by the tracing code. // void ExternalFuncs::doInitialization(Module &M) { |