diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-07 06:57:28 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-01-07 06:57:28 +0000 |
commit | d9ed8c888016d15eded298c25bc8bdeffcb8d155 (patch) | |
tree | f6dcc268c102273f2c140e608d6345a16d296bc4 /lib/Transforms/Instrumentation/TraceBasicBlocks.cpp | |
parent | afc2000a1b9bc13ee25309c8ef0277560b71ace7 (diff) |
Add missing createXxxPass functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/TraceBasicBlocks.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/TraceBasicBlocks.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp b/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp index 746e82221a..68d50ae559 100644 --- a/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp +++ b/lib/Transforms/Instrumentation/TraceBasicBlocks.cpp @@ -18,6 +18,7 @@ #include "llvm/Module.h" #include "llvm/Pass.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" +#include "llvm/Transforms/Instrumentation.h" #include "llvm/Instructions.h" #include "ProfilingUtils.h" #include "llvm/Support/Debug.h" @@ -33,6 +34,11 @@ namespace { "Insert instrumentation for basic block tracing"); } +ModulePass *llvm::createTraceBasicBlockPass() +{ + return new TraceBasicBlocks(); +} + static void InsertInstrumentationCall (BasicBlock *BB, const std::string FnName, unsigned BBNumber) { |