[flang][cuda] Do not register global constants (#118582)
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / parent_recurse_depth.s
blobd14b5b1ca91ab213fd15a71008194730f197a969
1 # RUN: yaml2obj %s -o %t.o
2 # RUN: llvm-dwarfdump --debug-info=0x00000020 -p -parent-recurse-depth 0 %t.o | FileCheck %s --check-prefixes=COMMON,ALL
3 # RUN: llvm-dwarfdump --debug-info=0x00000020 -p -parent-recurse-depth 1 %t.o | FileCheck %s --check-prefixes=COMMON,ONE
4 # RUN: llvm-dwarfdump --debug-info=0x00000020 -p -parent-recurse-depth 2 %t.o | FileCheck %s --check-prefixes=COMMON,TWO
5 # RUN: llvm-dwarfdump --debug-info=0x00000020 -p -parent-recurse-depth 3 %t.o | FileCheck %s --check-prefixes=COMMON,ALL
7 # COMMON: .o: file format
9 # ALL: by_hand
10 # ALL: main
11 # ALL: test
12 # ALL: int
14 # ONE-NOT: by_hand
15 # ONE-NOT: main
16 # ONE: test
17 # ONE: int
19 # TWO-NOT: by_hand
20 # TWO: main
21 # TWO: test
22 # TWO: int
24 --- !ELF
25 FileHeader:
26 Class: ELFCLASS64
27 Data: ELFDATA2LSB
28 Type: ET_EXEC
29 Machine: EM_X86_64
30 DWARF:
31 debug_abbrev:
32 - Table:
33 - Tag: DW_TAG_compile_unit
34 Children: DW_CHILDREN_yes
35 Attributes:
36 - Attribute: DW_AT_producer
37 Form: DW_FORM_string
38 - Tag: DW_TAG_subprogram
39 Children: DW_CHILDREN_yes
40 Attributes:
41 - Attribute: DW_AT_name
42 Form: DW_FORM_string
43 - Tag: DW_TAG_namespace
44 Children: DW_CHILDREN_yes
45 Attributes:
46 - Attribute: DW_AT_name
47 Form: DW_FORM_string
48 - Tag: DW_TAG_base_type
49 Children: DW_CHILDREN_no
50 Attributes:
51 - Attribute: DW_AT_name
52 Form: DW_FORM_string
53 debug_info:
54 - Version: 4
55 Entries:
56 - AbbrCode: 1
57 Values:
58 - CStr: by_hand
59 - AbbrCode: 2
60 Values:
61 - CStr: main
62 - AbbrCode: 3
63 Values:
64 - CStr: test
65 - AbbrCode: 4
66 Values:
67 - CStr: int