diff options
author | Fangrui Song <maskray@google.com> | 2019-05-01 05:27:20 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-05-01 05:27:20 +0000 |
commit | e29e30b1397f3e50f3487491f8a77ae08e4e3471 (patch) | |
tree | 214ee9eb6e3ea8b5007db0c5eee8bde4ea017c3f /llvm/test/tools/llvm-readobj/note-gnu-property.s | |
parent | fccb505f0f59d94b0c46f2dd28fd8893ca45899d (diff) | |
download | bcm5719-llvm-e29e30b1397f3e50f3487491f8a77ae08e4e3471.tar.gz bcm5719-llvm-e29e30b1397f3e50f3487491f8a77ae08e4e3471.zip |
[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
Diffstat (limited to 'llvm/test/tools/llvm-readobj/note-gnu-property.s')
-rw-r--r-- | llvm/test/tools/llvm-readobj/note-gnu-property.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-readobj/note-gnu-property.s b/llvm/test/tools/llvm-readobj/note-gnu-property.s index 598c754d126..931dce6ba8f 100644 --- a/llvm/test/tools/llvm-readobj/note-gnu-property.s +++ b/llvm/test/tools/llvm-readobj/note-gnu-property.s @@ -1,7 +1,7 @@ // REQUIRES: x86-registered-target // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t -// RUN: llvm-readobj -elf-output-style GNU --notes %t | FileCheck %s --check-prefix=GNU -// RUN: llvm-readobj -elf-output-style LLVM --notes %t | FileCheck %s --check-prefix=LLVM +// RUN: llvm-readelf --notes %t | FileCheck %s --check-prefix=GNU +// RUN: llvm-readobj --elf-output-style LLVM --notes %t | FileCheck %s --check-prefix=LLVM // GNU: Displaying notes found at file offset 0x00000040 with length 0x000000f8: // GNU-NEXT: Owner Data size Description |