[lld] 7299c6f - [test] Avoid llvm-nm one-dash long options

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 15 09:50:43 PDT 2021


Author: Fangrui Song
Date: 2021-07-15T09:50:36-07:00
New Revision: 7299c6f635681aeec250309b1675329fbcb8bb1a

URL: https://github.com/llvm/llvm-project/commit/7299c6f635681aeec250309b1675329fbcb8bb1a
DIFF: https://github.com/llvm/llvm-project/commit/7299c6f635681aeec250309b1675329fbcb8bb1a.diff

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

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/Darwin/dead-strip.c
    lld/test/mach-o/debug-syms.yaml

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/Darwin/dead-strip.c b/compiler-rt/test/asan/TestCases/Darwin/dead-strip.c
index 15eb8edf07a9d..cbbbe27f5d9f8 100644
--- a/compiler-rt/test/asan/TestCases/Darwin/dead-strip.c
+++ b/compiler-rt/test/asan/TestCases/Darwin/dead-strip.c
@@ -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] = {};

diff  --git a/lld/test/mach-o/debug-syms.yaml b/lld/test/mach-o/debug-syms.yaml
index 54ea4ddd51143..901c2528fc72e 100644
--- a/lld/test/mach-o/debug-syms.yaml
+++ b/lld/test/mach-o/debug-syms.yaml
@@ -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


        


More information about the llvm-commits mailing list