Summary:
DWARF attribute DW_AT_main_subprogram should be emitted with DWARF version 4 or greater.
Testing:
- check-llvm
- check-debuginfo
Differential D87499
[DebugInfo] Flang should not emit DW_AT_main_subprogram for DWARF version lower than 4 alok on Sep 11 2020, 2:28 AM. Authored by
Details Summary: DWARF attribute DW_AT_main_subprogram should be emitted with DWARF version 4 or greater. Testing:
Diff Detail
Unit Tests Event TimelineComment Actions Is this causing real problems? Usually we emit newer attributes even for older DWARF versions because most consumers just ignore unknown attributes. |