aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-05-05 22:19:25 +0000
committerBill Wendling <isanbard@gmail.com>2009-05-05 22:19:25 +0000
commit18e52d206b01a7cde83505fc8b60d6e11d8026b4 (patch)
tree0a627a3ad48a43c4fa1e84cddc8b2d4fa4b6f1f6 /include/llvm
parent45f899f2d0542caeef5d0c8f08d449eed3086466 (diff)
downloadexternal_llvm-18e52d206b01a7cde83505fc8b60d6e11d8026b4.zip
external_llvm-18e52d206b01a7cde83505fc8b60d6e11d8026b4.tar.gz
external_llvm-18e52d206b01a7cde83505fc8b60d6e11d8026b4.tar.bz2
Add dump method to DIDescriptor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Analysis/DebugInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 6a0eb07..f398fe4 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -74,6 +74,8 @@ namespace llvm {
/// ValidDebugInfo - Return true if V represents valid debug info value.
static bool ValidDebugInfo(Value *V, CodeGenOpt::Level OptLevel);
+ /// dump - print descriptor.
+ void dump() const;
};
/// DIAnchor - A wrapper for various anchor descriptors.