1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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 f2adaaa0fc
commit b638679d9d

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: