diff options
author | Owen Anderson <resistor@mac.com> | 2010-10-07 04:13:08 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-10-07 04:13:08 +0000 |
commit | 5e19bfcde35b09793bd26bf37242b7b97cbee056 (patch) | |
tree | f46fd471b6ad3e7499736c00893959d328c97543 /llvm/lib/Analysis/DbgInfoPrinter.cpp | |
parent | 0ed37c96154c867d16e3855c99ebb1bfcd0e689c (diff) | |
download | bcm5719-llvm-5e19bfcde35b09793bd26bf37242b7b97cbee056.tar.gz bcm5719-llvm-5e19bfcde35b09793bd26bf37242b7b97cbee056.zip |
Move the pass initialization helper functions into the llvm namespace, and add
a header declaring them all. This is also where we will declare per-library pass-set
initializer functions down the road.
llvm-svn: 115900
Diffstat (limited to 'llvm/lib/Analysis/DbgInfoPrinter.cpp')
-rw-r--r-- | llvm/lib/Analysis/DbgInfoPrinter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DbgInfoPrinter.cpp b/llvm/lib/Analysis/DbgInfoPrinter.cpp index 05677506061..ba41361c625 100644 --- a/llvm/lib/Analysis/DbgInfoPrinter.cpp +++ b/llvm/lib/Analysis/DbgInfoPrinter.cpp @@ -48,10 +48,11 @@ namespace { } }; char PrintDbgInfo::ID = 0; - INITIALIZE_PASS(PrintDbgInfo, "print-dbginfo", - "Print debug info in human readable form", false, false); } +INITIALIZE_PASS(PrintDbgInfo, "print-dbginfo", + "Print debug info in human readable form", false, false); + FunctionPass *llvm::createDbgInfoPrinterPass() { return new PrintDbgInfo(); } void PrintDbgInfo::printVariableDeclaration(const Value *V) { |