diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index 4120d9f9171..4dbab67da71 100644 --- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -1713,6 +1713,7 @@ private: break; case DW_TAG_structure_type: case DW_TAG_union_type: + case DW_TAG_class_type: { // Add elements to structure type. DIArray Elements = CTy.getTypeArray();