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 | 71802344fcb224a89e4e636c1ec47f3730969be7 (patch) | |
tree | dd6cb671c0f1fb2cfa5cc92900291995616b1c01 /lib/Analysis/DbgInfoPrinter.cpp | |
parent | 5a50ceeaea980962c1982ad535226c7ab06c971c (diff) | |
download | external_llvm-71802344fcb224a89e4e636c1ec47f3730969be7.zip external_llvm-71802344fcb224a89e4e636c1ec47f3730969be7.tar.gz external_llvm-71802344fcb224a89e4e636c1ec47f3730969be7.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DbgInfoPrinter.cpp')
-rw-r--r-- | lib/Analysis/DbgInfoPrinter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/DbgInfoPrinter.cpp b/lib/Analysis/DbgInfoPrinter.cpp index 0567750..ba41361 100644 --- a/lib/Analysis/DbgInfoPrinter.cpp +++ b/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) { |