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/Analysis | |
parent | 620f28095bd0411065abb934917b68983b223b3d (diff) | |
download | external_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')
-rw-r--r-- | include/llvm/Analysis/Passes.h | 3 |
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 |