Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / dsymutil / ARM / accel-imported-declarations.test
blob057e89d060b1d272479212f495fcd9bd29d210a6
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:     }
27 DWARF-NEXT:     Entry {{.*}} {
28 DWARF-NEXT:       Abbrev: {{.*}}
29 DWARF:       Tag: DW_TAG_imported_declaration
30 DWARF:       DW_IDX_die_offset: 0x0000005c
31 DWARF-NEXT:     }
32 DWARF-NEXT:   }
34 APPLE:      .apple_namespaces contents:
35 APPLE:      Bucket 1 [
36 APPLE-NEXT:   Hash {{.*}} [
37 APPLE-NEXT:     Name@{{.*}} {
38 APPLE-NEXT:       String: {{.*}} "C"
39 APPLE-NEXT:       Data 0 [
40 APPLE-NEXT:         Atom[0]: [[NAMESPACE]]
41 APPLE-NEXT:       ]
42 APPLE-NEXT:       Data 1 [
43 APPLE-NEXT:         Atom[0]: {{0x0000005c|0x0000006f}}
44 APPLE-NEXT:       ]
45 APPLE:          }
46 APPLE-NEXT:   ]
47 APPLE-NEXT: ]