brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.4 KiB · 6aaac18 Raw
56 lines · plain
1# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o %t.o2# RUN: not llvm-dwarfdump --error-display=details --verify %t.o | FileCheck %s3 4# CHECK: Verifying .debug_abbrev...5# CHECK-NEXT: Verifying .debug_info Unit Header Chain...6# CHECK-NEXT: Verifying .debug_types Unit Header Chain...7# CHECK-NEXT: Verifying non-dwo Units...8# CHECK-NEXT: Verifying unit: 1 / 2, "test.cpp"9# CHECK-NEXT: Verifying unit: 2 / 2{{$}}10# CHECK-NEXT: warning: DW_TAG_skeleton_unit has DW_CHILDREN_yes but DIE has no children11# CHECK-NEXT: DW_TAG_skeleton_unit12# CHECK-NEXT: error: Skeleton compilation unit has children.13# CHECK-NEXT: Verifying dwo Units...14# CHECK-NEXT: Verifying .debug_line...15# CHECK-NEXT: Verifying .debug_str_offsets...16# CHECK-NEXT: Errors detected.17 18        .section .debug_abbrev,"",@progbits19        .byte   1                       # Abbreviation Code20        .byte   74                      # DW_TAG_skeleton_unit21        .byte   0                       # DW_CHILDREN_no22        .byte   3                       # DW_AT_name23        .byte   8                       # DW_FORM_string24        .byte   0                       # EOM(1)25        .byte   0                       # EOM(2)26        .byte   2                       # Abbreviation Code27        .byte   74                      # DW_TAG_skeleton_unit28        .byte   1                       # DW_CHILDREN_yes29        .byte   0                       # EOM(1)30        .byte   0                       # EOM(2)31        .byte   0                       # EOM(3)32 33        .section        .debug_info,"",@progbits34.Lcu_begin0:35        .long   .Lcu_end0-.Lcu_start0 # Length of Unit36.Lcu_start0:37        .short  5                       # DWARF version number38        .byte   4                       # DWARF Unit Type39        .byte   8                       # Address Size (in bytes)40        .long   .debug_abbrev           # Offset Into Abbrev. Section41        .quad   -657322746996741247642        .byte   1                       # Abbrev [1]43        .asciz  "test.cpp"44        .byte   045.Lcu_end0:46        .long   .Lcu_end1-.Lcu_start1 # Length of Unit47.Lcu_start1:48        .short  5                       # DWARF version number49        .byte   4                       # DWARF Unit Type50        .byte   8                       # Address Size (in bytes)51        .long   .debug_abbrev           # Offset Into Abbrev. Section52        .quad   -657322746996741247653        .byte   2                       # Abbrev [2]54        .byte   055.Lcu_end1:56