diff options
author | Torok Edwin <edwintorok@gmail.com> | 2008-12-16 09:09:19 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2008-12-16 09:09:19 +0000 |
commit | 6e68106a47e9774476f2f39df572652c1eb5f75c (patch) | |
tree | a3eb1db3412f7bad483693ff3610b344f31940c8 /include/llvm/LinkAllPasses.h | |
parent | 620f28095bd0411065abb934917b68983b223b3d (diff) | |
download | llvm-6e68106a47e9774476f2f39df572652c1eb5f75c.tar.gz llvm-6e68106a47e9774476f2f39df572652c1eb5f75c.tar.bz2 llvm-6e68106a47e9774476f2f39df572652c1eb5f75c.tar.xz |
Add -print-dbginfo pass that prints LLVM IR with comments inserted to show
which source/line a certain BB/instruction comes from, original variable names,
and original (unmangled) C++ name of functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61085 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/LinkAllPasses.h')
-rw-r--r-- | include/llvm/LinkAllPasses.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/LinkAllPasses.h b/include/llvm/LinkAllPasses.h index f6d1bf70b6..bc77c086fd 100644 --- a/include/llvm/LinkAllPasses.h +++ b/include/llvm/LinkAllPasses.h @@ -126,6 +126,7 @@ namespace { (void) llvm::createMergeFunctionsPass(); (void) llvm::createPrintModulePass(0); (void) llvm::createPrintFunctionPass("", 0); + (void) llvm::createDbgInfoPrinterPass(); (void)new llvm::IntervalPartition(); (void)new llvm::FindUsedTypes(); |