diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-09-04 14:17:36 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-09-04 14:17:36 +0000 |
commit | ab034f61ed7a1ace20da502aa0d4d9c86662ec54 (patch) | |
tree | 90c5f4562830d944bc9d31816589ad67a9f84834 | |
parent | 082893f53dd3d735601f4302314d4757f0dc8327 (diff) |
Merging r339253:
------------------------------------------------------------------------
r339253 | psmith | 2018-08-08 16:50:33 +0200 (Wed, 08 Aug 2018) | 7 lines
Add missing REQUIRES x86 to tests.
Add REQUIRES to tests that fail when an x86 backend is not present.
Differential Revision: https://reviews.llvm.org/D50440
------------------------------------------------------------------------
-rw-r--r-- | lld/test/COFF/guardcf-align.s | 1 | ||||
-rw-r--r-- | lld/test/ELF/icf13.s | 1 | ||||
-rw-r--r-- | lld/test/ELF/icf15.s | 1 | ||||
-rw-r--r-- | lld/test/ELF/icf16.s | 1 | ||||
-rw-r--r-- | lld/test/ELF/icf17.s | 1 | ||||
-rw-r--r-- | lld/test/ELF/lto/libcall-archive.ll | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/lld/test/COFF/guardcf-align.s b/lld/test/COFF/guardcf-align.s index a0caabc92b0..449d3fcd2a7 100644 --- a/lld/test/COFF/guardcf-align.s +++ b/lld/test/COFF/guardcf-align.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple x86_64-windows-msvc -filetype=obj -o %t.obj %s # RUN: yaml2obj < %p/Inputs/guardcf-align-foobar.yaml \ # RUN: > %T/guardcf-align-foobar.obj diff --git a/lld/test/ELF/icf13.s b/lld/test/ELF/icf13.s index 2fe707f11c7..c0d4935cca4 100644 --- a/lld/test/ELF/icf13.s +++ b/lld/test/ELF/icf13.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1 # RUN: ld.lld -shared -z notext %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s diff --git a/lld/test/ELF/icf15.s b/lld/test/ELF/icf15.s index 57c1735e151..5c651fbd65f 100644 --- a/lld/test/ELF/icf15.s +++ b/lld/test/ELF/icf15.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1 # RUN: ld.lld %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s diff --git a/lld/test/ELF/icf16.s b/lld/test/ELF/icf16.s index e7650af37c3..13cb8ecd299 100644 --- a/lld/test/ELF/icf16.s +++ b/lld/test/ELF/icf16.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1 # RUN: ld.lld -shared -z notext %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s diff --git a/lld/test/ELF/icf17.s b/lld/test/ELF/icf17.s index 5d28aeb869c..cab5c12d214 100644 --- a/lld/test/ELF/icf17.s +++ b/lld/test/ELF/icf17.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1 # RUN: ld.lld %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s diff --git a/lld/test/ELF/lto/libcall-archive.ll b/lld/test/ELF/lto/libcall-archive.ll index 731e25938bd..043532942da 100644 --- a/lld/test/ELF/lto/libcall-archive.ll +++ b/lld/test/ELF/lto/libcall-archive.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: rm -f %t.a ; RUN: llvm-as -o %t.o %s ; RUN: llvm-as -o %t2.o %S/Inputs/libcall-archive.ll |