If there is no debug info for macros, do not emit labels for empty
macinfo sections.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| test/DebugInfo/X86/empty_macinfo.ll | ||
|---|---|---|
| 1 ↗ | (On Diff #135300) | Adding -dwarf-version 4 here would make me happy (the .debug_macinfo section goes away in DWARF v5). |
| 7 ↗ | (On Diff #135300) | This depends on the order of sections, and can be made more robust pretty easily. Replace the second CHECK-NEXT with this: ; CHECK-NEXT: .section ; CHECK-NOT: .debug_macinfo |