[lld] Added REQUIRES lines to tests
authorFilipe Cabecinhas <me@filcab.net>
Fri, 23 Jan 2015 22:32:12 +0000 (22:32 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Fri, 23 Jan 2015 22:32:12 +0000 (22:32 +0000)
llvm-svn: 226951

17 files changed:
lld/test/elf/ifunc.test
lld/test/elf/tls.test
lld/test/elf/x86_64-kinds.test
lld/test/mach-o/lazy-bind-x86_64.yaml
lld/test/pecoff/alternatename.test
lld/test/pecoff/armnt-blx23t.test
lld/test/pecoff/armnt-branch24t.test
lld/test/pecoff/armnt-mov32t-exec.test
lld/test/pecoff/armnt-movt32t.test
lld/test/pecoff/common-symbol.test
lld/test/pecoff/hello64.test
lld/test/pecoff/imagebase.test
lld/test/pecoff/importlib.test
lld/test/pecoff/lib.test
lld/test/pecoff/multi.test
lld/test/pecoff/reloc.test
lld/test/pecoff/reloc64.test

index 62c20e402962fb3ecbb012a4ae2cd8651e209192..e0c08bd10e4e6a8d291b08e004299142606a0abd 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+
 # This test checks that IRELATIVE relocations are created for symbols that
 # need relocation even for static links.
 RUN: lld -flavor gnu -target x86_64-linux --output-filetype=yaml -r \
index 0eb6393fe9db0be752de28f437ea58939d9374a0..9a7e9779e68afe8573c8eb4c9fe60e2641c419a8 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # This tests verifies that TLS variables have correct offsets
 RUN: lld -flavor gnu -target x86_64-linux %p/Inputs/tls.x86-64 -static  \
 RUN: --output-filetype=yaml --noinhibit-exec | FileCheck %s -check-prefix=YAML
index 2844fc7e918da957b98be5b2358955bdf3c554ba..60e69014ec3aaf5a6d66b74731bece7072e00ecd 100644 (file)
@@ -1,3 +1,5 @@
+REQUIRES: X86
+
 RUN: lld -flavor gnu -target x86_64-linux -o %t1 %p/Inputs/relocs.x86-64 \
 RUN:   -e _start -static
 RUN: llvm-objdump -d %t1 | FileCheck %s -check-prefix=RELOCS
index a6800098823edbe1772f0a1faee54f829463742a..b817086918a512a1569fa91b8d220aed7f5dc943 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # RUN: lld -flavor darwin -arch x86_64 -macosx_version_min 10.8 %s -o %t  \
 # RUN:   %p/Inputs/libSystem.yaml
 # RUN: llvm-objdump -lazy-bind %t | FileCheck %s
index 4901fffb20dfcbb6bdbb030fc5f807c039aeb913..03cf0f794e8bf69583b3580814b33f8087407120 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # RUN: yaml2obj %p/Inputs/alternatename1.obj.yaml > %t1.obj
 # RUN: yaml2obj %p/Inputs/alternatename2.obj.yaml > %t2.obj
 # RUN: yaml2obj %p/Inputs/alternatename3.obj.yaml > %t3.obj
index bacd99182bce616ee5c4de30fef63b3b406b3a47..60f5a35854f1196ad0f4f8700d4ece0305b518f3 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: ARM
+#
 # RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-blx23t.obj.yaml
 # RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
 # RUN: lld -flavor link /entry:function /subsystem:console /out:%t.exe %t.obj
index bcb0a513d8272a1e130627e738bd1bdbdb68aefc..c269033d0101f6e7c67c24c95a330a6e3294f089 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: ARM
+#
 # RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-branch24t.obj.yaml
 # RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
 # RUN: lld -flavor link /entry:function /subsystem:console /out:%t.exe %t.obj
index c98c9cf10cd2c1ae6ac8a1090db0b2cf50f7f517..73ca145aeb96b7ff484519518673e1795beafd37 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: ARM
+#
 # RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-mov32t-exec.obj.yaml
 # RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
 # RUN: lld -flavor link /out:%t.exe /subsystem:console /entry:get_function %t.obj
index d991f9c5432666ebb8ff9e57a50eab4897fbb2ce..9009648c38270c543305c8ac50fbcf181abf4b8e 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: ARM
+#
 # RUN: yaml2obj -format coff -o %t.obj %p/Inputs/armnt-mov32t.obj.yaml
 # RUN: llvm-objdump -d %t.obj | FileCheck %s -check-prefix BEFORE
 # RUN: lld -flavor link /entry:get_buffer /subsystem:console /out:%t.exe %t.obj
index e88511e9fdba67ca7b4cabc5ef4ce3a30cf18344..a2ba5b1829226f50f508bc370287246cb3e29070 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # RUN: yaml2obj %p/Inputs/common-symbol.obj.yaml > %t.obj
 #
 # RUN: lld -flavor link /machine:x64 /out:%t.exe /subsystem:console /force \
index cd71da160bffb9a9234e340b012d45effe0e2049..30a12febd0a36ef1218d02830f199eee9486971a 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # RUN: yaml2obj %p/Inputs/hello64.obj.yaml > %t.obj
 
 # RUN: lld -flavor link /out:%t.exe /subsystem:windows /machine:x64 \
index 025a517c8eaad0187cfaeb22523a78d583e39e51..4ef00379ded6e71ec4ee4341ff2402c69cce1eac 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # RUN: yaml2obj %p/Inputs/imagebase.obj.yaml > %t.obj
 
 # RUN: lld -flavor link /out:%t1.exe /subsystem:console /entry:_start \
index 88765775279246936a5d15e1964c70cff7e137cd..7f1ee6b4434738bcd4fd25c9a7cbde7da7e0115a 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # Verify that lld can handle .lib files. "main.obj" refers "var" and
 # "fn" defined in "vars.lib".
 #
index 676390dd573e9fba2609f64ad83c351c779d748d..c8e0c0c3c14cc3cd7b907f57ff4320d1ed893d05 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # Verify that lld can handle a library file.
 #
 # RUN: yaml2obj %p/Inputs/main.obj.yaml > %t.obj
index 0ce2c3783dbffe500ab24d369f483de0a1ebdd3b..5362f4386f3f1572a8e8ceca83d76191d68d2640 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # Verify that lld can handle multiple input files.
 #
 # RUN: yaml2obj %p/Inputs/main.obj.yaml > %t1.obj
index ba1e9353c09edba2fbb1b9058cb89fe7f566c9bd..a461074db629df46bb5c288e9948ad71a164d0bd 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # RUN: yaml2obj %p/Inputs/reloc.obj.yaml > %t.obj
 #
 # RUN: lld -flavor link /out:%t.exe /subsystem:console /force /opt:noref \
index 262afb6076b65c62383e21c542997f3689bb6274..ae25fe565f60562e4a03d9ebc20c86e528305b83 100644 (file)
@@ -1,3 +1,5 @@
+# REQUIRES: X86
+#
 # RUN: yaml2obj %p/Inputs/reloc64.obj.yaml > %t.obj
 
 # RUN: lld -flavor link /out:%t.exe /subsystem:console /machine:x64 \