diff options
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/COFF')
-rw-r--r-- | llvm/test/tools/llvm-objcopy/COFF/add-gnu-debuglink.test | 2 | ||||
-rw-r--r-- | llvm/test/tools/llvm-objcopy/COFF/strip-all.test | 2 | ||||
-rw-r--r-- | llvm/test/tools/llvm-objcopy/COFF/strip-symbol.test | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/tools/llvm-objcopy/COFF/add-gnu-debuglink.test b/llvm/test/tools/llvm-objcopy/COFF/add-gnu-debuglink.test index fd47d79739e..7afe4cddd61 100644 --- a/llvm/test/tools/llvm-objcopy/COFF/add-gnu-debuglink.test +++ b/llvm/test/tools/llvm-objcopy/COFF/add-gnu-debuglink.test @@ -4,7 +4,7 @@ RUN: yaml2obj %p/Inputs/x86_64-exe.yaml > %t.in123.exe # showcase padding in CONTENTS below. RUN: llvm-objcopy --add-gnu-debuglink=%t.in123.exe %t.in123.exe %t.out.exe -RUN: llvm-readobj -sections %t.out.exe | FileCheck %s --check-prefix=SECTIONS +RUN: llvm-readobj --sections %t.out.exe | FileCheck %s --check-prefix=SECTIONS RUN: llvm-objdump -s %t.out.exe | FileCheck %s --check-prefix=CONTENTS # Show the last of the preexisting sections, which is used for choosing diff --git a/llvm/test/tools/llvm-objcopy/COFF/strip-all.test b/llvm/test/tools/llvm-objcopy/COFF/strip-all.test index 8a92ac61509..5e3ed9c4091 100644 --- a/llvm/test/tools/llvm-objcopy/COFF/strip-all.test +++ b/llvm/test/tools/llvm-objcopy/COFF/strip-all.test @@ -4,7 +4,7 @@ # RUN: llvm-objcopy --strip-all %t.in.o %t.out.o # RUN: llvm-objdump -t %t.out.o | FileCheck %s --check-prefix=SYMBOLS -# RUN: llvm-readobj -relocs %t.out.o | FileCheck %s --check-prefix=RELOCS +# RUN: llvm-readobj -r %t.out.o | FileCheck %s --check-prefix=RELOCS # Test that -S, llvm-strip without arguments and --strip-all-gnu produces # output identical to --strip-all above. diff --git a/llvm/test/tools/llvm-objcopy/COFF/strip-symbol.test b/llvm/test/tools/llvm-objcopy/COFF/strip-symbol.test index 268b097255d..5eb64426179 100644 --- a/llvm/test/tools/llvm-objcopy/COFF/strip-symbol.test +++ b/llvm/test/tools/llvm-objcopy/COFF/strip-symbol.test @@ -1,14 +1,14 @@ RUN: yaml2obj %p/Inputs/strip-symbols.yaml > %t.in.o -RUN: llvm-readobj -relocations %t.in.o | FileCheck %s --check-prefixes=RELOCS,RELOCS-PRE +RUN: llvm-readobj -r %t.in.o | FileCheck %s --check-prefixes=RELOCS,RELOCS-PRE RUN: llvm-objdump -t %t.in.o | FileCheck %s --check-prefixes=SYMBOLS,SYMBOLS-PRE RUN: llvm-objcopy -N mainfunc %t.in.o %t.out.o -RUN: llvm-readobj -relocations %t.out.o | FileCheck %s --check-prefixes=RELOCS,RELOCS-POST +RUN: llvm-readobj -r %t.out.o | FileCheck %s --check-prefixes=RELOCS,RELOCS-POST RUN: llvm-objdump -t %t.out.o | FileCheck %s --check-prefix=SYMBOLS RUN: llvm-objcopy --strip-symbol mainfunc %t.in.o %t.out.o -RUN: llvm-readobj -relocations %t.out.o | FileCheck %s --check-prefixes=RELOCS,RELOCS-POST +RUN: llvm-readobj -r %t.out.o | FileCheck %s --check-prefixes=RELOCS,RELOCS-POST RUN: llvm-objdump -t %t.out.o | FileCheck %s --check-prefix=SYMBOLS Explicitly listing the relocations for the input as well, to show |