24 lines · plain
1; Verify the emission of accelerator tables for nameTableKind: Apple2; REQUIRES: x86-registered-target3 4; RUN: llc -mtriple=x86_64-apple-darwin12 -filetype=obj -o %t.d5.o < %S/Inputs/name-table-kind-apple-5.ll5; RUN: llvm-readobj --sections %t.d5.o | FileCheck --check-prefix=DEBUG_NAMES %s6; RUN: llvm-dwarfdump --debug-names %t.d5.o | FileCheck --check-prefix=COUNT_DEBUG_NAMES %s7 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 %s10 11; APPLE-NOT: debug_names12; APPLE-NOT: debug{{.*}}pub13; APPLE: apple_names14; APPLE-NOT: debug_names15; APPLE-NOT: debug{{.*}}pub16 17; DEBUG_NAMES-NOT: apple_names18; DEBUG_NAMES-NOT: pubnames19; DEBUG_NAMES: debug_names20; DEBUG_NAMES-NOT: apple_names21; DEBUG_NAMES-NOT: pubnames22 23; COUNT_DEBUG_NAMES: Name count: 424