[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git] / test / tools / dsymutil / X86 / accelerator.test
blob96fc58ee5683959044a884ee3bed274b573c6380
1 RUN: dsymutil -accelerator=Dwarf -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 -o %t.dwarf.dSYM
2 RUN: dsymutil -accelerator=Apple -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 -o %t.apple.dSYM
4 RUN: llvm-dwarfdump -verify %t.dwarf.dSYM
5 RUN: llvm-dwarfdump -verify %t.apple.dSYM
7 RUN: llvm-dwarfdump -debug-names %t.dwarf.dSYM | FileCheck %s -check-prefix=NAMES -check-prefix=DWARF
8 RUN: llvm-dwarfdump -apple-names -apple-namespaces -apple-types %t.apple.dSYM | FileCheck %s -check-prefix=NAMES -check-prefix=APPLE
10 RUN: dsymutil -update -accelerator=Dwarf %t.apple.dSYM
11 RUN: dsymutil -update -accelerator=Apple %t.dwarf.dSYM
13 RUN: llvm-dwarfdump -verify %t.dwarf.dSYM
14 RUN: llvm-dwarfdump -verify %t.apple.dSYM
16 RUN: llvm-dwarfdump -debug-names %t.apple.dSYM | FileCheck %s -check-prefix=NAMES -check-prefix=DWARF
17 RUN: llvm-dwarfdump -apple-names -apple-namespaces -apple-types %t.dwarf.dSYM | FileCheck %s -check-prefix=NAMES -check-prefix=APPLE
19 DWARF: .debug_names contents:
20 DWARF: Compilation Unit offsets [
21 DWARF:   CU[0]
22 DWARF:   CU[1]
23 DWARF:   CU[2]
24 DWARF: ]
26 APPLE-DAG: .apple_names contents:
27 APPLE-DAG: .apple_types contents:
28 APPLE-DAG: .apple_namespaces contents:
30 NAMES-DAG: "private_int"
31 NAMES-DAG: "baz"
32 NAMES-DAG: "int"
33 NAMES-DAG: "bar"
34 NAMES-DAG: "foo"
35 NAMES-DAG: "inc"
36 NAMES-DAG: "val"
37 NAMES-DAG: "main"
38 NAMES-DAG: "char"