Make sure the sizes for forward declared classes aren't emitted in
DWARF.
This comes before https://reviews.llvm.org/D87062, which adds sizes to
all classes with definitions.
Differential D87070
[DebugInfo] Make DWARF ignore sizes on forward declared class types. Authored by akhuang on Sep 2 2020, 8:46 PM.
Details Make sure the sizes for forward declared classes aren't emitted in This comes before https://reviews.llvm.org/D87062, which adds sizes to
Diff Detail
Event TimelineComment Actions Looks good - thanks!
| ||||||||||||
Thinking about it, perhaps this'd be easier written as:
; CHECK: DW_TAG_structure_type ; CHECK-NOT: DW_AT_byte_size ; CHECK: {{NULL|DW_TAG}}(I realize, ultimately, this isn't far off just "CHECK-NOT: DW_AT_byte_size" in general, but I think it's probably a good balance)