summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-dwarfdump/X86/debug_info_offset.test
blob: d3d1b6a94c6dec34a8df7a6d1e801244c5d16a88 (plain)
1
2
3
4
5
6
7
8
9
10
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
RUN:   | llvm-dwarfdump -debug-info=0x0000000b - | FileCheck %s
CHECK: .debug_info contents:
CHECK: 0x0000000b: DW_TAG_compile_unit
CHECK:               DW_AT_name
CHECK-NOT: {{:}}

RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
RUN:   | llvm-dwarfdump -debug-info=0 - | FileCheck --allow-empty --check-prefix=EMPTY %s
EMPTY-NOT: DW_TAG
OpenPOWER on IntegriCloud