aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/DebugInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-08-23 18:25:56 +0000
committerDevang Patel <dpatel@apple.com>2010-08-23 18:25:56 +0000
commita8652674e0c528f6ff6fac98344c378603bf4bb0 (patch)
tree81f088b409f24dd7adb27a8baa0954ecb11e63c0 /llvm/lib/Analysis/DebugInfo.cpp
parent620b68e8831890176b82df611117622728065233 (diff)
downloadllvm-a8652674e0c528f6ff6fac98344c378603bf4bb0.zip
llvm-a8652674e0c528f6ff6fac98344c378603bf4bb0.tar.gz
llvm-a8652674e0c528f6ff6fac98344c378603bf4bb0.tar.bz2
Handle qualified constants that are directly folded by FE.
PR 7920. llvm-svn: 111820
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
-rw-r--r--llvm/lib/Analysis/DebugInfo.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp
index 0bd7904..c380028 100644
--- a/llvm/lib/Analysis/DebugInfo.cpp
+++ b/llvm/lib/Analysis/DebugInfo.cpp
@@ -303,6 +303,16 @@ bool DIType::Verify() const {
return true;
}
+/// Verify - Verify that a basic type descriptor is well formed.
+bool DIBasicType::Verify() const {
+ return isBasicType();
+}
+
+/// Verify - Verify that a derived type descriptor is well formed.
+bool DIDerivedType::Verify() const {
+ return isDerivedType();
+}
+
/// Verify - Verify that a composite type descriptor is well formed.
bool DICompositeType::Verify() const {
if (!DbgNode)