[test] Avoid llvm-nm one-dash long options

This commit is contained in:
Fangrui Song 2021-07-15 09:45:46 -07:00
parent 2b6e433230
commit 7299c6f635
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
// REQUIRES: osx-ld64-live_support
// RUN: %clang_asan %min_macos_deployment_target=10.11 -Xlinker -dead_strip -o %t %s
// RUN: llvm-nm -format=posix %t | FileCheck --check-prefix NM-CHECK %s
// RUN: llvm-nm --format=posix %t | FileCheck --check-prefix NM-CHECK %s
// RUN: not %run %t 2>&1 | FileCheck --check-prefix ASAN-CHECK %s
int alive[1] = {};

View File

@ -1,5 +1,5 @@
# RUN: ld64.lld.darwinold -arch x86_64 -o %t %s -dylib %p/Inputs/x86_64/libSystem.yaml && \
# RUN: llvm-nm -no-sort -debug-syms %t | FileCheck %s
# RUN: llvm-nm --no-sort --debug-syms %t | FileCheck %s
# CHECK: 0000000000000000 - 00 0000 SO /Users/lhames/Projects/lld/lld-svn-tot/scratch/
# CHECK-NEXT: 0000000000000000 - 00 0000 SO hw.c