[HLSL] Implement RWBuffer::operator[] via __builtin_hlsl_resource_getpointer (#117017)
[llvm-project.git] / llvm / test / tools / dsymutil / ARM / accel-imported-declarations.test
blob8afbe34dcdbfb1d8ec94145657a98d99757ca9dc
1 RUN: dsymutil -accelerator=Dwarf -oso-prepend-path=%p/../Inputs %p/../Inputs/accel-imported-declaration.macho-arm64 -o %t.dwarf.dSYM
2 RUN: dsymutil -accelerator=Apple -oso-prepend-path=%p/../Inputs %p/../Inputs/accel-imported-declaration.macho-arm64 -o %t.apple.dSYM
4 RUN: llvm-dwarfdump -v %t.dwarf.dSYM | FileCheck %s -check-prefixes=DWARF,COMMON
5 RUN: llvm-dwarfdump -v %t.apple.dSYM | FileCheck %s -check-prefixes=APPLE,COMMON
7 COMMON: .debug_info contents
8 COMMON: {{.*}}DW_TAG_namespace
9 COMMON:   DW_AT_name{{.*}}"A"
10 COMMON: {{.*}}DW_TAG_namespace
11 COMMON:   DW_AT_name{{.*}}"B"
12 COMMON: [[NAMESPACE:0x[0-9a-f]*]]:{{.*}}DW_TAG_namespace
13 COMMON:   DW_AT_name{{.*}}"C"
14 COMMON: 0x0000005c:{{.*}}DW_TAG_imported_declaration
15 COMMON:   DW_AT_name{{.*}}"C"
17 DWARF:      .debug_names contents:
18 DWARF:      Bucket 0 [
19 DWARF-NEXT:   Name {{.*}} {
20 DWARF-NEXT:     Hash: {{.*}}
21 DWARF-NEXT:     String: {{.*}} "C"
22 DWARF-NEXT:     Entry {{.*}} {
23 DWARF-NEXT:       Abbrev: {{.*}}
24 DWARF-NEXT:       Tag: DW_TAG_namespace
25 DWARF:       DW_IDX_die_offset: [[NAMESPACE]]
26 DWARF-NEXT:  DW_IDX_parent: Entry @ 0x{{.*}}
27 DWARF-NEXT:     }
28 DWARF-NEXT:     Entry {{.*}} {
29 DWARF-NEXT:       Abbrev: {{.*}}
30 DWARF:       Tag: DW_TAG_imported_declaration
31 DWARF:       DW_IDX_die_offset: 0x0000005c
32 DWARF-NEXT:  DW_IDX_parent: Entry @ 0x{{.*}}
33 DWARF-NEXT:     }
34 DWARF-NEXT:   }
36 APPLE:      .apple_namespaces contents:
37 APPLE:      Bucket 1 [
38 APPLE-NEXT:   Hash {{.*}} [
39 APPLE-NEXT:     Name@{{.*}} {
40 APPLE-NEXT:       String: {{.*}} "C"
41 APPLE-NEXT:       Data 0 [
42 APPLE-NEXT:         Atom[0]: [[NAMESPACE]]
43 APPLE-NEXT:       ]
44 APPLE-NEXT:       Data 1 [
45 APPLE-NEXT:         Atom[0]: {{0x0000005c|0x0000006f}}
46 APPLE-NEXT:       ]
47 APPLE:          }
48 APPLE-NEXT:   ]
49 APPLE-NEXT: ]