[flang][cuda] Do not register global constants (#118582)
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / verbose.test
blobf4513cf35c4d3469562c6690675a36a36d7b7175
1 # RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o %t.o
2 # RUN: llvm-dwarfdump -v --debug-info --debug-line %t.o | \
3 # RUN:   FileCheck %s --match-full-lines --strict-whitespace
5 #   CHECK-NOT:{{.*}} contents:
7 #       CHECK:.debug_info contents:
8 #       CHECK:0x0000000b: DW_TAG_compile_unit [1] *
9 #       CHECK:              DW_AT_name [DW_FORM_strp]   ( .debug_str[0x{{.*}}] = "brief.c")
10 #       CHECK:0x0000002a:   DW_TAG_subprogram [2]   (0x0000000b)
11 #       CHECK:                DW_AT_name [DW_FORM_strp] ( .debug_str[0x{{.*}}] = "main")
12 #       CHECK:0x00000043:   DW_TAG_base_type [3]   (0x0000000b)
13 #  CHECK-NEXT:                DW_AT_name [DW_FORM_strp] ( .debug_str[0x{{.*}}] = "int")
15 #       CHECK:.debug_line contents:
16 #       CHECK:         length: 0x00000000
17 # CHECK-EMPTY:
18 #  CHECK-NEXT:            Address            Line   Column File   ISA Discriminator OpIndex Flags
19 #  CHECK-NEXT:            ------------------ ------ ------ ------ --- ------------- ------- -------------
20 #  CHECK-NEXT:0x00000029: 00 DW_LNE_set_address (0x0000000000000000)
21 #  CHECK-NEXT:0x00000034: 01 DW_LNS_copy
22 #  CHECK-NEXT:            0x0000000000000000      1      0      1   0             0       0  is_stmt
23 #  CHECK-NEXT:0x00000035: 05 DW_LNS_set_column (12)
24 #  CHECK-NEXT:0x00000037: 0a DW_LNS_set_prologue_end
25 #  CHECK-NEXT:0x00000038: 66 address += 6,  line += 0,  op-index += 0
26 #  CHECK-NEXT:            0x0000000000000006      1     12      1   0             0       0  is_stmt prologue_end
27 #  CHECK-NEXT:0x00000039: 02 DW_LNS_advance_pc (addr += 2, op-index += 0)
28 #  CHECK-NEXT:0x0000003b: 00 DW_LNE_end_sequence
29 #  CHECK-NEXT:            0x0000000000000008      1     12      1   0             0       0  is_stmt end_sequence
30 # CHECK-EMPTY:
32 #   CHECK-NOT:{{.*}} contents: