brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.6 KiB · 0159192 Raw
34 lines · plain
1# RUN: llvm-mc --triple=x86_64-unknown-linux --filetype=obj --split-dwarf-file=%t.dwo -dwarf-version=5 %s -o %t.o2# RUN: not llvm-dwp %t.dwo -o /dev/null 2>&1 | FileCheck %s3 4# CHECK: error: no compile unit found in file: {{.*}}no_cu_found.s5	.section	.debug_info.dwo,"e",@progbits6	.long	.Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit7.Ldebug_info_dwo_start0:8	.short	5                      # DWARF version number9	.byte	12                       # DWARF Unit Type (DW_TAG_string_type, wrong type)10	.byte	8                       # Address Size (in bytes)11	.long	0                       # Offset Into Abbrev. Section12	.quad	-117335028515917209013	.byte	1                       # Abbrev [1] 0x14:0x16 DW_TAG_compile_unit14	.asciz  "clang version 11.0.0" # DW_AT_producer15	.short	12                     # DW_AT_language16	.asciz  "int.c"                # DW_AT_name17	.asciz  "int.dwo"              # DW_AT_dwo_name18	.byte	0                       # End Of Children Mark19.Ldebug_info_dwo_end0:20	.section	.debug_abbrev.dwo,"e",@progbits21	.byte	1                       # Abbreviation Code22	.byte	17                      # DW_TAG_compile_unit23	.byte	1                       # DW_CHILDREN_yes24	.byte	37                      # DW_AT_producer25	.byte	8                       # DW_FORM_string26	.byte	19                      # DW_AT_language27	.byte	5                       # DW_FORM_data228	.byte	3                       # DW_AT_name29	.byte	8                       # DW_FORM_string30	.byte	118                     # DW_AT_dwo_name31	.byte	8                       # DW_FORM_string32	.byte	0                       # EOM(1)33	.byte	0                       # EOM(2)34