[llvm-commits] [llvm] r63202 - /llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp

Tanya Lattner tonic at nondot.org
Wed Jan 28 07:28:35 PST 2009


Author: tbrethou
Date: Wed Jan 28 09:28:20 2009
New Revision: 63202

URL: http://llvm.org/viewvc/llvm-project?rev=63202&view=rev
Log:
Merge from mainline.
Set appropriate tag for the composite type.

Modified:
    llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp

Modified: llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp?rev=63202&r1=63201&r2=63202&view=diff

==============================================================================
--- llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp (original)
+++ llvm/branches/release_25/lib/CodeGen/AsmPrinter/DwarfWriter.cpp Wed Jan 28 09:28:20 2009
@@ -1747,6 +1747,7 @@
     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:





More information about the llvm-commits mailing list