Skip to content

Commit 7f90247

Browse files
committed
Merge from mainline.
Set appropriate tag for the composite type. llvm-svn: 63202
1 parent e378492 commit 7f90247

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/CodeGen/AsmPrinter/DwarfWriter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,6 +1747,7 @@ class DwarfDebug : public Dwarf {
17471747
const std::string &Name = CTy.getName();
17481748
uint64_t Size = CTy.getSizeInBits() >> 3;
17491749
unsigned Tag = CTy.getTag();
1750+
Buffer.setTag(Tag);
17501751
switch (Tag) {
17511752
case DW_TAG_vector_type:
17521753
case DW_TAG_array_type:

0 commit comments

Comments
 (0)