From ddbde9a4add367c12b4ff8bda5e7a6b351b645c6 Mon Sep 17 00:00:00 2001 From: Paul Robinson Date: Fri, 9 Nov 2018 19:06:09 +0000 Subject: [DWARFv5] Emit normal type units in .debug_info comdats. Differential Revision: https://reviews.llvm.org/D54282 llvm-svn: 346540 --- llvm/test/CodeGen/X86/dwarf-headers.ll | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'llvm/test/CodeGen/X86/dwarf-headers.ll') diff --git a/llvm/test/CodeGen/X86/dwarf-headers.ll b/llvm/test/CodeGen/X86/dwarf-headers.ll index fa2080d1e1d..2f20216ab0d 100644 --- a/llvm/test/CodeGen/X86/dwarf-headers.ll +++ b/llvm/test/CodeGen/X86/dwarf-headers.ll @@ -59,16 +59,16 @@ ; DWO-4: 0x00000000: Type Unit: {{.*}} version = 0x0004 abbr_offset ; DWO-4: 0x00000017: DW_TAG_type_unit -; Verify the v5 non-split headers. +; Verify the v5 non-split headers. Type units come first. +; All .debug_info sections are reported in one go, but the offset resets for +; each new section. ; ; SINGLE-5: .debug_info contents: -; SINGLE-5: 0x00000000: Compile Unit: {{.*}} version = 0x0005 unit_type = DW_UT_compile abbr_offset -; SINGLE-5: 0x0000000c: DW_TAG_compile_unit -; -; FIXME: V5 wants type units in .debug_info not .debug_types. -; SINGLE-5: .debug_types contents: ; SINGLE-5: 0x00000000: Type Unit: {{.*}} version = 0x0005 unit_type = DW_UT_type abbr_offset ; SINGLE-5: 0x00000018: DW_TAG_type_unit +; SINGLE-5-NOT: contents: +; SINGLE-5: 0x00000000: Compile Unit: {{.*}} version = 0x0005 unit_type = DW_UT_compile abbr_offset +; SINGLE-5: 0x0000000c: DW_TAG_compile_unit ; Verify the v5 split headers. ; -- cgit v1.2.3