1 ; Verify the emission of accelerator tables for nameTableKind: Apple
2 ; REQUIRES: x86-registered-target
4 ; RUN: llc -mtriple=x86_64-apple-darwin12 -filetype=obj -o %t.d5.o < %S/Inputs/name-table-kind-apple-5.ll
5 ; RUN: llvm-readobj --sections %t.d5.o | FileCheck --check-prefix=DEBUG_NAMES %s
6 ; RUN: llvm-dwarfdump --debug-names %t.d5.o | FileCheck --check-prefix=COUNT_DEBUG_NAMES %s
8 ; RUN: llc -mtriple=x86_64-apple-darwin12 -filetype=obj < %S/Inputs/name-table-kind-apple-4.ll \
9 ; RUN: | llvm-readobj --sections - | FileCheck --check-prefix=APPLE %s
11 ; APPLE-NOT: debug_names
12 ; APPLE-NOT: debug{{.*}}pub
14 ; APPLE-NOT: debug_names
15 ; APPLE-NOT: debug{{.*}}pub
17 ; DEBUG_NAMES-NOT: apple_names
18 ; DEBUG_NAMES-NOT: pubnames
19 ; DEBUG_NAMES: debug_names
20 ; DEBUG_NAMES-NOT: apple_names
21 ; DEBUG_NAMES-NOT: pubnames
23 ; COUNT_DEBUG_NAMES: Name count: 4