diff --git a/src/mapleall/maple_be/src/cg/emit.cpp b/src/mapleall/maple_be/src/cg/emit.cpp index 37112f6cfb385a9a241ac4a4a3470daae7b5f48a..bfddbabfe681bb2e4c6bac1b0ddc35f2cb75d861 100644 --- a/src/mapleall/maple_be/src/cg/emit.cpp +++ b/src/mapleall/maple_be/src/cg/emit.cpp @@ -3491,6 +3491,7 @@ void Emitter::SetupDBGInfo(DebugInfo *mirdi) { die->SetAttr(DW_AT_frame_base, exprloc); } break; case DW_TAG_structure_type: + case DW_TAG_union_type: case DW_TAG_class_type: case DW_TAG_interface_type: { DBGDieAttr *byteSizeAttr = LFindDieAttr(die, DW_AT_byte_size);