Set appropriate tag for the composite type.

llvm-svn: 62827
This commit is contained in:
Devang Patel 2009-01-23 01:19:09 +00:00
parent a248034f41
commit 4c8f55abda
1 changed files with 1 additions and 0 deletions

View File

@ -1747,6 +1747,7 @@ private:
const std::string &Name = CTy.getName();
uint64_t Size = CTy.getSizeInBits() >> 3;
unsigned Tag = CTy.getTag();
Buffer.setTag(Tag);
switch (Tag) {
case DW_TAG_vector_type:
case DW_TAG_array_type: