From 4c8f55abda4e7e165acd08f7c88e3e6da302db1d Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 23 Jan 2009 01:19:09 +0000 Subject: [PATCH] Set appropriate tag for the composite type. llvm-svn: 62827 --- llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index 4ca5583a6cb6..3057797e7f21 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/llvm/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: