diff options
author | Devang Patel <dpatel@apple.com> | 2010-12-08 01:50:15 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-12-08 01:50:15 +0000 |
commit | 43c249cf1e417083ec8cbdfb4866a42861a7f638 (patch) | |
tree | 996c306e9799a2923c04122ec6122386e69d0044 /lib/Analysis/DebugInfo.cpp | |
parent | 7bc0f27329f790790f3f4e09f97030667f0e19c6 (diff) |
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.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index 1b732a2729..f968d06195 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; |