diff options
| author | George Rimar <grimar@accesssoftek.com> | 2018-03-29 14:57:29 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2018-03-29 14:57:29 +0000 |
| commit | 7d0be9aff93c3d7f0332cd77d53c803b1512ee61 (patch) | |
| tree | 80a9b64189e8431cf663eedacb92a3ed3bf21d67 | |
| parent | b0eee29c7415dfa1599e4a02018a7e99465d4253 (diff) | |
| download | bcm5719-llvm-7d0be9aff93c3d7f0332cd77d53c803b1512ee61.tar.gz bcm5719-llvm-7d0be9aff93c3d7f0332cd77d53c803b1512ee61.zip | |
[ELF] - Add missing check calls to the tests.
llvm-svn: 328794
| -rw-r--r-- | lld/test/ELF/i386-reloc-16.s | 3 | ||||
| -rw-r--r-- | lld/test/ELF/i386-reloc-8.s | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lld/test/ELF/i386-reloc-16.s b/lld/test/ELF/i386-reloc-16.s index d69e6fbc49a..e9d4fbb4c4e 100644 --- a/lld/test/ELF/i386-reloc-16.s +++ b/lld/test/ELF/i386-reloc-16.s @@ -4,9 +4,10 @@ // RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %S/Inputs/x86-64-reloc-16-error.s -o %t2 // RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t // RUN: ld.lld -shared %t %t1 -o %t3 +// RUN: llvm-objdump -s %t3 | FileCheck %s // CHECK: Contents of section .text: -// CHECK-NEXT: 200000 42 +// CHECK-NEXT: 1000 42 // RUN: not ld.lld -shared %t %t2 -o %t4 2>&1 | FileCheck --check-prefix=ERROR %s // ERROR: relocation R_386_16 out of range: 65536 is not in [0, 65535] diff --git a/lld/test/ELF/i386-reloc-8.s b/lld/test/ELF/i386-reloc-8.s index c6ae67120e2..e0e255b96c9 100644 --- a/lld/test/ELF/i386-reloc-8.s +++ b/lld/test/ELF/i386-reloc-8.s @@ -4,9 +4,10 @@ // RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %S/Inputs/i386-reloc-8-error.s -o %t2 // RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t // RUN: ld.lld -shared %t %t1 -o %t3 +// RUN: llvm-objdump -s %t3 | FileCheck %s // CHECK: Contents of section .text: -// CHECK-NEXT: 200000 42 +// CHECK-NEXT: 1000 ff // RUN: not ld.lld -shared %t %t2 -o %t4 2>&1 | FileCheck --check-prefix=ERROR %s // ERROR: relocation R_386_8 out of range: 256 is not in [0, 255] |

