[lld] 8f806d5 - [test] Avoid llvm-readelf/llvm-readobj one-dash long options
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 16 12:03:13 PDT 2021
Author: Fangrui Song
Date: 2021-07-16T12:03:07-07:00
New Revision: 8f806d5f5203e1e022eeaafc81f778717c62d250
URL: https://github.com/llvm/llvm-project/commit/8f806d5f5203e1e022eeaafc81f778717c62d250
DIFF: https://github.com/llvm/llvm-project/commit/8f806d5f5203e1e022eeaafc81f778717c62d250.diff
LOG: [test] Avoid llvm-readelf/llvm-readobj one-dash long options
Added:
Modified:
compiler-rt/test/asan/TestCases/Windows/delay_dbghelp.cpp
lld/test/ELF/ppc64-toc-addis-nop-lqsq.s
Removed:
################################################################################
diff --git a/compiler-rt/test/asan/TestCases/Windows/delay_dbghelp.cpp b/compiler-rt/test/asan/TestCases/Windows/delay_dbghelp.cpp
index 53c06e006da07..33981bd048582 100644
--- a/compiler-rt/test/asan/TestCases/Windows/delay_dbghelp.cpp
+++ b/compiler-rt/test/asan/TestCases/Windows/delay_dbghelp.cpp
@@ -9,7 +9,7 @@
// static build, there won't be any clang_rt DLLs.
// RUN: not grep cl""ang_rt %t || \
// RUN: grep cl""ang_rt %t | xargs which | \
-// RUN: xargs llvm-readobj -coff-imports | not grep dbghelp.dll %t
+// RUN: xargs llvm-readobj --coff-imports | not grep dbghelp.dll %t
extern "C" int puts(const char *);
diff --git a/lld/test/ELF/ppc64-toc-addis-nop-lqsq.s b/lld/test/ELF/ppc64-toc-addis-nop-lqsq.s
index 08ec5f47c9e78..b742296fb8d72 100644
--- a/lld/test/ELF/ppc64-toc-addis-nop-lqsq.s
+++ b/lld/test/ELF/ppc64-toc-addis-nop-lqsq.s
@@ -1,7 +1,7 @@
# REQUIRES: ppc
# XFAIL: *
-# RUN: llvm-readelf -relocations --wide %p/Inputs/ppc64le-quadword-ldst.o | FileCheck --check-prefix=QuadInputRelocs %s
+# RUN: llvm-readelf -r --wide %p/Inputs/ppc64le-quadword-ldst.o | FileCheck --check-prefix=QuadInputRelocs %s
# RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux %p/Inputs/shared-ppc64.s -o %t2.o
# RUN: ld.lld -shared %t2.o -o %t2.so
More information about the llvm-commits
mailing list