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
3 RUN: dsymutil -accelerator=None -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 -o %t.none.dSYM
5 RUN: llvm-dwarfdump -verify %t.dwarf.dSYM
6 RUN: llvm-dwarfdump -verify %t.apple.dSYM
7 RUN: llvm-dwarfdump -verify %t.none.dSYM
9 RUN: llvm-dwarfdump -debug-names %t.dwarf.dSYM | FileCheck %s -check-prefixes=NAMES,DWARF
10 RUN: llvm-dwarfdump -apple-names -apple-namespaces -apple-types %t.apple.dSYM | FileCheck %s -check-prefixes=NAMES,APPLE
11 RUN: llvm-dwarfdump -a %t.none.dSYM | FileCheck %s -check-prefixes=NONE
13 RUN: dsymutil -update -accelerator=Dwarf %t.apple.dSYM
14 RUN: dsymutil -update -accelerator=Apple %t.dwarf.dSYM
15 RUN: dsymutil -update -accelerator=None %t.none.dSYM
17 RUN: llvm-dwarfdump -verify %t.dwarf.dSYM
18 RUN: llvm-dwarfdump -verify %t.apple.dSYM
19 RUN: llvm-dwarfdump -verify %t.none.dSYM
21 RUN: llvm-dwarfdump -debug-names %t.apple.dSYM | FileCheck %s -check-prefixes=NAMES,DWARF
22 RUN: llvm-dwarfdump -apple-names -apple-namespaces -apple-types %t.dwarf.dSYM | FileCheck %s -check-prefixes=NAMES,APPLE
23 RUN: llvm-dwarfdump -a %t.none.dSYM | FileCheck %s -check-prefixes=NONE
25 DWARF: .debug_names contents:
26 DWARF: Compilation Unit offsets [
32 APPLE-DAG: .apple_names contents:
33 APPLE-DAG: .apple_types contents:
34 APPLE-DAG: .apple_namespaces contents:
36 NAMES-DAG: "private_int"
46 NONE-NOT: .debug_names
47 NONE-NOT: .apple_names
48 NONE-NOT: .apple_types
49 NONE-NOT: .apple_namespaces
51 NONE-NOT: .debug_pubnames
52 NONE-NOT: .debug_types
53 NONE-NOT: .debug_gnu_pubnames
54 NONE-NOT: .debug_gnu_types