You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
53
external/llvm/test/tools/llvm-dwarfdump/X86/debug_info_offset.test
vendored
Normal file
53
external/llvm/test/tools/llvm-dwarfdump/X86/debug_info_offset.test
vendored
Normal file
@ -0,0 +1,53 @@
|
||||
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 - \
|
||||
RUN: | FileCheck --allow-empty --check-prefix=EMPTY %s
|
||||
EMPTY-NOT: DW_TAG
|
||||
|
||||
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
||||
RUN: | llvm-dwarfdump -debug-info=0x0000000b -c - \
|
||||
RUN: | FileCheck %s --check-prefix=CHILDREN
|
||||
|
||||
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
||||
RUN: | llvm-dwarfdump -debug-info=0x0000000b --show-children - \
|
||||
RUN: | FileCheck %s --check-prefix=CHILDREN
|
||||
CHILDREN: .debug_info contents:
|
||||
CHILDREN: 0x0000000b: DW_TAG_compile_unit
|
||||
CHILDREN: DW_TAG_subprogram
|
||||
|
||||
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
||||
RUN: | llvm-dwarfdump -debug-info=0x0000000b -c -r 0 - \
|
||||
RUN: | FileCheck %s
|
||||
|
||||
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
||||
RUN: | llvm-dwarfdump -debug-info=0x0000000b -c -r 1 - \
|
||||
RUN: | FileCheck %s --check-prefix=CHILDREN
|
||||
|
||||
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
||||
RUN: | llvm-dwarfdump -debug-info=0x0000000b -c -recurse-depth 0 - \
|
||||
RUN: | FileCheck %s
|
||||
|
||||
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
||||
RUN: | llvm-dwarfdump -debug-info=0x0000000b -c -recurse-depth 1 - \
|
||||
RUN: | FileCheck %s --check-prefix=CHILDREN
|
||||
|
||||
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
||||
RUN: | llvm-dwarfdump -debug-info=0x00000043 --show-parents - \
|
||||
RUN: | FileCheck %s --check-prefix=PARENTS
|
||||
|
||||
RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \
|
||||
RUN: | llvm-dwarfdump -debug-info=0x00000043 -p - \
|
||||
RUN: | FileCheck %s --check-prefix=PARENTS
|
||||
PARENTS: .debug_info contents:
|
||||
PARENTS: 0x0000000b:{{ }}DW_TAG_compile_unit
|
||||
PARENTS: DW_AT_name
|
||||
PARENTS-NOT: {{:}}
|
||||
PARENTS: 0x00000043:{{ }}DW_TAG_base_type
|
||||
PARENTS: DW_AT_name
|
||||
PARENTS-NOT: {{:}}
|
Reference in New Issue
Block a user