aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/Passes.h
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2008-12-16 09:09:19 +0000
committerTorok Edwin <edwintorok@gmail.com>2008-12-16 09:09:19 +0000
commit6e68106a47e9774476f2f39df572652c1eb5f75c (patch)
treea3eb1db3412f7bad483693ff3610b344f31940c8 /include/llvm/Analysis/Passes.h
parent620f28095bd0411065abb934917b68983b223b3d (diff)
downloadexternal_llvm-6e68106a47e9774476f2f39df572652c1eb5f75c.zip
external_llvm-6e68106a47e9774476f2f39df572652c1eb5f75c.tar.gz
external_llvm-6e68106a47e9774476f2f39df572652c1eb5f75c.tar.bz2
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/Analysis/Passes.h')
-rw-r--r--include/llvm/Analysis/Passes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/Passes.h b/include/llvm/Analysis/Passes.h
index 7995fc8..da7518f 100644
--- a/include/llvm/Analysis/Passes.h
+++ b/include/llvm/Analysis/Passes.h
@@ -114,6 +114,9 @@ namespace llvm {
// Minor pass prototypes, allowing us to expose them through bugpoint and
// analyze.
FunctionPass *createInstCountPass();
+
+ // print debug info intrinsics in human readable form
+ FunctionPass *createDbgInfoPrinterPass();
}
#endif