aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/DebugInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-12-08 01:50:15 +0000
committerDevang Patel <dpatel@apple.com>2010-12-08 01:50:15 +0000
commit43c249cf1e417083ec8cbdfb4866a42861a7f638 (patch)
tree996c306e9799a2923c04122ec6122386e69d0044 /lib/Analysis/DebugInfo.cpp
parent7bc0f27329f790790f3f4e09f97030667f0e19c6 (diff)
downloadexternal_llvm-43c249cf1e417083ec8cbdfb4866a42861a7f638.zip
external_llvm-43c249cf1e417083ec8cbdfb4866a42861a7f638.tar.gz
external_llvm-43c249cf1e417083ec8cbdfb4866a42861a7f638.tar.bz2
Add support to create vector, array, enums etc...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
-rw-r--r--lib/Analysis/DebugInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp
index 1b732a2..f968d06 100644
--- a/lib/Analysis/DebugInfo.cpp
+++ b/lib/Analysis/DebugInfo.cpp
@@ -309,6 +309,8 @@ bool DIType::Verify() const {
if (!isBasicType() && Tag != dwarf::DW_TAG_const_type &&
Tag != dwarf::DW_TAG_volatile_type && Tag != dwarf::DW_TAG_pointer_type &&
Tag != dwarf::DW_TAG_reference_type && Tag != dwarf::DW_TAG_restrict_type
+ && Tag != dwarf::DW_TAG_vector_type && Tag != dwarf::DW_TAG_array_type
+ && Tag != dwarf::DW_TAG_enumeration_type
&& getFilename().empty())
return false;
return true;