diff options
author | Devang Patel <dpatel@apple.com> | 2009-01-23 01:19:09 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-01-23 01:19:09 +0000 |
commit | 49f38cb32ff49ae165a97e3e71ac7e941231e251 (patch) | |
tree | 0e0967fc346d260f7b1d8fd5e578cf45017d6756 /lib/CodeGen | |
parent | b54bfc2636111f74b0d33b62f0c6d30130164cfb (diff) | |
download | external_llvm-49f38cb32ff49ae165a97e3e71ac7e941231e251.zip external_llvm-49f38cb32ff49ae165a97e3e71ac7e941231e251.tar.gz external_llvm-49f38cb32ff49ae165a97e3e71ac7e941231e251.tar.bz2 |
Set appropriate tag for the composite type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index 4ca5583..3057797 100644 --- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -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: |