brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.1 KiB · cd9032c Raw
54 lines · plain
1RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \2RUN:   | llvm-dwarfdump -debug-info=0x0000000b - | FileCheck %s3CHECK: .debug_info contents:4CHECK: 0x0000000b: DW_TAG_compile_unit5CHECK:               DW_AT_name6CHECK-NOT: {{:}}7 8RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \9RUN:   | llvm-dwarfdump -debug-info=0 - \10RUN:   | FileCheck --allow-empty --check-prefix=EMPTY %s11EMPTY-NOT: DW_TAG12 13RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \14RUN:   | llvm-dwarfdump -debug-info=0x0000000b -c - \15RUN:   | FileCheck %s --check-prefix=CHILDREN16 17RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \18RUN:   | llvm-dwarfdump -debug-info=0x0000000b --show-children - \19RUN:   | FileCheck %s --check-prefix=CHILDREN20CHILDREN: .debug_info contents:21CHILDREN: 0x0000000b: DW_TAG_compile_unit22CHILDREN: DW_TAG_subprogram23 24RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \25RUN:   | llvm-dwarfdump -debug-info=0x0000000b -c -r 0 - \26RUN:   | FileCheck %s27 28RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \29RUN:   | llvm-dwarfdump -debug-info=0x0000000b -c -r 1 - \30RUN:   | FileCheck %s --check-prefix=CHILDREN31 32RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \33RUN:   | llvm-dwarfdump -debug-info=0x0000000b -c -recurse-depth 0 - \34RUN:   | FileCheck %s35 36RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \37RUN:   | llvm-dwarfdump -debug-info=0x0000000b -c -recurse-depth 1 - \38RUN:   | FileCheck %s --check-prefix=CHILDREN39 40RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \41RUN:   | llvm-dwarfdump -debug-info=0x00000043 --show-parents - \42RUN:   | FileCheck %s --check-prefix=PARENTS43 44RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \45RUN:   | llvm-dwarfdump -debug-info=0x00000043 -p - \46RUN:   | FileCheck %s --check-prefix=PARENTS47PARENTS: .debug_info contents:48PARENTS: 0x0000000b:{{ }}DW_TAG_compile_unit49PARENTS:                   DW_AT_name50PARENTS-NOT: {{:}}51PARENTS: 0x00000043:{{   }}DW_TAG_base_type52PARENTS:                     DW_AT_name53PARENTS-NOT: {{:}}54