diff options
| author | James Henderson <jh7370@my.bristol.ac.uk> | 2019-12-09 11:43:47 +0000 |
|---|---|---|
| committer | James Henderson <jh7370@my.bristol.ac.uk> | 2019-12-09 12:24:23 +0000 |
| commit | dba420bc05aec26c2b6d060cfd186169da30b5f7 (patch) | |
| tree | 57a87953f132727241eb798fe1b9537223a50ba5 /llvm/test/tools/llvm-objdump | |
| parent | 0d1490bf6a68d9397a6402c8f702e30f07adacf1 (diff) | |
| download | bcm5719-llvm-dba420bc05aec26c2b6d060cfd186169da30b5f7.tar.gz bcm5719-llvm-dba420bc05aec26c2b6d060cfd186169da30b5f7.zip | |
[test][tools] Add missing and improve testing
Mostly this adds testing for certain aliases in more explicit ways.
There are also a few tidy-ups, and additions of missing testing, where
the feature was either not tested at all, or not tested explicitly and
sufficiently.
Reviewed by: MaskRay, rupprecht, grimar
Differential Revision: https://reviews.llvm.org/D71116
Diffstat (limited to 'llvm/test/tools/llvm-objdump')
| -rw-r--r-- | llvm/test/tools/llvm-objdump/X86/elf-dynamic-relocs.test | 1 | ||||
| -rw-r--r-- | llvm/test/tools/llvm-objdump/all-headers.test | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-objdump/X86/elf-dynamic-relocs.test b/llvm/test/tools/llvm-objdump/X86/elf-dynamic-relocs.test index c8a74a56c48..8a472430d3b 100644 --- a/llvm/test/tools/llvm-objdump/X86/elf-dynamic-relocs.test +++ b/llvm/test/tools/llvm-objdump/X86/elf-dynamic-relocs.test @@ -4,6 +4,7 @@ # RUN: yaml2obj %s -o %t # RUN: llvm-objdump --dynamic-reloc %t | FileCheck --implicit-check-not=R_X86 %s +# RUN: llvm-objdump -R %t | FileCheck --implicit-check-not=R_X86 %s # CHECK: file format ELF64-x86-64 # CHECK: DYNAMIC RELOCATION RECORDS diff --git a/llvm/test/tools/llvm-objdump/all-headers.test b/llvm/test/tools/llvm-objdump/all-headers.test index 7e57eba3b01..cf25fe6cfa5 100644 --- a/llvm/test/tools/llvm-objdump/all-headers.test +++ b/llvm/test/tools/llvm-objdump/all-headers.test @@ -1,5 +1,6 @@ -# RUN: yaml2obj %s > %t +# RUN: yaml2obj %s -o %t # RUN: llvm-objdump --all-headers %t | FileCheck %s +# RUN: llvm-objdump -x %t | FileCheck %s ## Note: --all-headers (-x) is an alias for --archive-headers --file-headers ## --section-headers --private-headers --reloc --syms (-afhprt). Test for them |

