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 | 89ea4f27a82d7c021598904e08eabe64664b3d9e (patch) | |
tree | c8f06747f82217a3c6a33b7b0c711e06ac2f3223 /llvm/lib/Analysis/DebugInfo.cpp | |
parent | 21e71e948b80535a6299ef98df05ea518b93d6f8 (diff) | |
download | bcm5719-llvm-89ea4f27a82d7c021598904e08eabe64664b3d9e.tar.gz bcm5719-llvm-89ea4f27a82d7c021598904e08eabe64664b3d9e.zip |
Add support to create vector, array, enums etc...
llvm-svn: 121224
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/Analysis/DebugInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index 1b732a27292..f968d061951 100644 --- a/llvm/lib/Analysis/DebugInfo.cpp +++ b/llvm/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; |