48 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t4# RUN: %lldb %t \5# RUN: -o exit 2>&1 | FileCheck %s6 7# CHECK-DAG: error: {{.*}} [0x0000000000000022]: abbreviation code 65536 too big, please file a bug and attach the file at the start of this error message8# CHECK-DAG: error: {{.*}} [0x0000000000000048]: invalid abbreviation code 47, please file a bug and attach the file at the start of this error message9 10 11 .section .debug_abbrev,"",@progbits12 .uleb128 65535 # Largest representable Abbreviation Code13 .byte 17 # DW_TAG_compile_unit14 .byte 1 # DW_CHILDREN_yes15 .byte 37 # DW_AT_producer16 .byte 8 # DW_FORM_string17 .byte 0 # EOM(1)18 .byte 0 # EOM(2)19 .byte 0 # EOM(3)20 21 .section .debug_info,"",@progbits22.Lcu_begin0:23 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit24.Ldebug_info_start0:25 .short 5 # DWARF version number26 .byte 1 # DWARF Unit Type27 .byte 8 # Address Size (in bytes)28 .long .debug_abbrev # Offset Into Abbrev. Section29 .uleb128 65535 # DW_TAG_compile_unit30 .asciz "Hand-written DWARF" # DW_AT_producer31 .uleb128 65536 # Unrepresentable abbreviation32 .byte 0 # End Of Children Mark33.Ldebug_info_end0:34 35 .section .debug_info,"",@progbits36.Lcu_begin1:37 .long .Ldebug_info_end1-.Ldebug_info_start1 # Length of Unit38.Ldebug_info_start1:39 .short 5 # DWARF version number40 .byte 1 # DWARF Unit Type41 .byte 8 # Address Size (in bytes)42 .long .debug_abbrev # Offset Into Abbrev. Section43 .uleb128 65535 # DW_TAG_compile_unit44 .asciz "Hand-written DWARF" # DW_AT_producer45 .byte 47 # Missing abbreviation46 .byte 0 # End Of Children Mark47.Ldebug_info_end1:48