aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/Passes.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-05-07 16:22:32 +0000
committerDan Gohman <gohman@apple.com>2010-05-07 16:22:32 +0000
commitef0b14593bb8dd5651606925584adb1ac1096ba5 (patch)
tree887bc7f2ed8e1ee5820974931b75c4bf8cb76ab0 /include/llvm/Analysis/Passes.h
parentc014d0963e50deb5cfdc49e3abb4ba21db099a2e (diff)
downloadexternal_llvm-ef0b14593bb8dd5651606925584adb1ac1096ba5.zip
external_llvm-ef0b14593bb8dd5651606925584adb1ac1096ba5.tar.gz
external_llvm-ef0b14593bb8dd5651606925584adb1ac1096ba5.tar.bz2
Add a simple module-level debug info printer. It just sets up a
DebugInfoFinder and iterates over all the contents calling print. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103262 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 1a5cbb2..ce3f7a6 100644
--- a/include/llvm/Analysis/Passes.h
+++ b/include/llvm/Analysis/Passes.h
@@ -153,6 +153,9 @@ namespace llvm {
// print debug info intrinsics in human readable form
FunctionPass *createDbgInfoPrinterPass();
+
+ // Print module-level debug info metadata in human-readable form.
+ ModulePass *createModuleDebugInfoPrinterPass();
}
#endif