Debian Codegraph @

llvm/test/tools/llvm-dwarfdump/X86/tag-parent-offset.yaml

raw
1 # RUN: yaml2obj %s -o %t.o
2 # RUN: llvm-dwarfdump -v -a %t.o | FileCheck %s
3
4 ## This test checks that llvm-dwarfdump prints link
5 ## to the parent of the current die:
6
7 ## DW_TAG_base_type [3] (0x00000014) <<<<<
8
9 # CHECK: .o: file format
10 # CHECK: 0x0000000b: DW_TAG_compile_unit
11 # CHECK: 0x00000014: DW_TAG_namespace [2] * (0x0000000b)
12 # CHECK: DW_TAG_base_type [3] (0x00000014)
13
14 --- !ELF
15 FileHeader:
16 Class: ELFCLASS64
17 Data: ELFDATA2LSB
18 Type: ET_EXEC
19 Machine: EM_X86_64
20 DWARF:
21 debug_abbrev:
22 - Table:
23 - Tag: DW_TAG_compile_unit
24 Children: DW_CHILDREN_yes
25 Attributes:
26 - Attribute: DW_AT_producer
27 Form: DW_FORM_string
28 - Tag: DW_TAG_namespace
29 Children: DW_CHILDREN_yes
30 Attributes:
31 - Attribute: DW_AT_name
32 Form: DW_FORM_string
33 - Tag: DW_TAG_base_type
34 Children: DW_CHILDREN_no
35 Attributes:
36 - Attribute: DW_AT_name
37 Form: DW_FORM_string
38 debug_info:
39 - Version: 4
40 Entries:
41 - AbbrCode: 1
42 Values:
43 - CStr: by_hand
44 - AbbrCode: 2
45 Values:
46 - CStr: name
47 - AbbrCode: 3
48 Values:
49 - CStr: int