[mlir][int-range] Limit xor int range inference to i1 (#116968)
[llvm-project.git] / llvm / test / DebugInfo / dwarfdump-type-units.test
blobf34721de66d348e6bb8ebc5868a21e432248acad
1 RUN: llvm-dwarfdump -v %p/Inputs/dwarfdump-type-units.elf-x86-64 | FileCheck -check-prefix=INFO -check-prefix=CHECK -check-prefix=LONG %s
2 RUN: llvm-dwarfdump -debug-types -debug-info %p/Inputs/dwarfdump-type-units.elf-x86-64 -summarize-types | FileCheck -implicit-check-not=DW_ -check-prefix=CHECK -check-prefix=SHORT %s
3 RUN: llvm-dwarfdump -v -debug-types %p/Inputs/dwarfdump-type-units.elf-x86-64 | FileCheck -check-prefix=TYPES %s
5 INFO: debug_info contents:
7 INFO: DW_TAG_variable
8 INFO-NEXT: DW_AT_name {{.*}}"f"
9 INFO: DW_AT_type [DW_FORM_ref_sig8] ([[FOO_SIG:0x[0-9a-f]*]]
11 INFO: DW_TAG_variable
12 INFO-NEXT: DW_AT_name {{.*}}"b"
13 INFO: DW_AT_type [DW_FORM_ref_sig8] ([[BAR_SIG:0x[0-9a-f]*]]
16 CHECK: debug_types contents:
18 LONG: 0x00000000: Type Unit: {{.*}} name =
19 SHORT-NOT: Type Unit
20 SHORT: name =
21 CHECK-SAME: 'bar', type_signature = 
22 LONG: [[BAR_SIG]]
23 SHORT-SAME: length =
24 LONG-SAME: type_offset = 0x[[BAR_OFF:[0-9a-f]*]] (next unit at
25 LONG: DW_TAG_type_unit
26 LONG-NOT: NULL
27 LONG: 0x0000[[BAR_OFF]]: DW_TAG_structure_type
28 LONG-NEXT: DW_AT_name {{.*}}"bar"
30 LONG: 0x00000000: Type Unit: {{.*}} name =
31 SHORT: name =
32 CHECK-SAME: 'foo', type_signature =
33 LONG: [[FOO_SIG]]
34 LONG-SAME: type_offset = 0x[[FOO_OFF:[0-9a-f]*]] (next unit at
35 LONG: DW_TAG_type_unit
36 LONG-NOT: NULL
37 LONG: 0x0000[[FOO_OFF]]: DW_TAG_structure_type
38 LONG-NEXT: DW_AT_name {{.*}}"foo"
40 TYPES-NOT: debug_info contents:
41 TYPES: debug_types contents: