[test] Avoid llvm-readelf/llvm-readobj one-dash long options

This commit is contained in:
Fangrui Song 2021-07-16 12:02:49 -07:00
parent 58e5e504f5
commit 8f806d5f52
2 changed files with 2 additions and 2 deletions

View File

@ -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 *);

View File

@ -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