aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-09-04 14:17:36 +0000
committerHans Wennborg <hans@hanshq.net>2018-09-04 14:17:36 +0000
commit3d3c7c2e04f934ac4a71843b3570191b53ae118f (patch)
treec9834f9707e28d0f8cfe61d053112f5f4ce93aaf
parent9f802dded89daf9698929fdb1faf6ab8ccab51cf (diff)
downloadllvm-3d3c7c2e04f934ac4a71843b3570191b53ae118f.zip
llvm-3d3c7c2e04f934ac4a71843b3570191b53ae118f.tar.gz
llvm-3d3c7c2e04f934ac4a71843b3570191b53ae118f.tar.bz2
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 ------------------------------------------------------------------------ llvm-svn: 341367
-rw-r--r--lld/test/COFF/guardcf-align.s1
-rw-r--r--lld/test/ELF/icf13.s1
-rw-r--r--lld/test/ELF/icf15.s1
-rw-r--r--lld/test/ELF/icf16.s1
-rw-r--r--lld/test/ELF/icf17.s1
-rw-r--r--lld/test/ELF/lto/libcall-archive.ll1
6 files changed, 6 insertions, 0 deletions
diff --git a/lld/test/COFF/guardcf-align.s b/lld/test/COFF/guardcf-align.s
index a0caabc..449d3fc 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 2fe707f..c0d4935 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 57c1735..5c651fb 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 e7650af..13cb8ec 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 5d28aeb..cab5c12 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 731e259..0435329 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