From e29e30b1397f3e50f3487491f8a77ae08e4e3471 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 1 May 2019 05:27:20 +0000 Subject: [llvm-readobj] Change -long-option to --long-option in tests. NFC We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649 --- .../tools/llvm-objcopy/ELF/compress-debug-sections-zlib-header.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-header.test') diff --git a/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-header.test b/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-header.test index 0e7d713aebc..fb4919b6c9a 100644 --- a/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-header.test +++ b/llvm/test/tools/llvm-objcopy/ELF/compress-debug-sections-zlib-header.test @@ -2,7 +2,7 @@ # RUN: yaml2obj %s -o %t1.o # RUN: llvm-objcopy --compress-debug-sections %t1.o %t2.o -# RUN: llvm-readobj -s %t2.o | FileCheck %s +# RUN: llvm-readobj -S %t2.o | FileCheck %s # Non-.zdebug* sections whose data does start with "ZLIB" should # not be considered as zlib-gnu compressed sections. -- cgit v1.2.3