diff options
| author | Paul Robinson <paul.robinson@sony.com> | 2018-11-09 19:06:09 +0000 |
|---|---|---|
| committer | Paul Robinson <paul.robinson@sony.com> | 2018-11-09 19:06:09 +0000 |
| commit | ddbde9a4add367c12b4ff8bda5e7a6b351b645c6 (patch) | |
| tree | 29081d6179b75582c07b6cd5eb4e00fc3bd592a2 /llvm/test/CodeGen/X86/dwarf-headers.ll | |
| parent | 731ea7dbc1da611beed2e492446df3408c85e638 (diff) | |
| download | bcm5719-llvm-ddbde9a4add367c12b4ff8bda5e7a6b351b645c6.tar.gz bcm5719-llvm-ddbde9a4add367c12b4ff8bda5e7a6b351b645c6.zip | |
[DWARFv5] Emit normal type units in .debug_info comdats.
Differential Revision: https://reviews.llvm.org/D54282
llvm-svn: 346540
Diffstat (limited to 'llvm/test/CodeGen/X86/dwarf-headers.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/dwarf-headers.ll | 12 |
1 files changed, 6 insertions, 6 deletions
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. ; |

