[lld] r226985 - Fix REQUIRES lines added in r226951 and add the x86 feature if the X86 target was compiled in

Filipe Cabecinhas me at filcab.net
Fri Jan 23 19:55:23 PST 2015


Author: filcab
Date: Fri Jan 23 21:55:22 2015
New Revision: 226985

URL: http://llvm.org/viewvc/llvm-project?rev=226985&view=rev
Log:
Fix REQUIRES lines added in r226951 and add the x86 feature if the X86 target was compiled in

Modified:
    lld/trunk/test/elf/Mips/base-address.test
    lld/trunk/test/elf/ifunc.test
    lld/trunk/test/elf/tls.test
    lld/trunk/test/elf/x86_64-kinds.test
    lld/trunk/test/lit.cfg
    lld/trunk/test/mach-o/lazy-bind-x86_64.yaml
    lld/trunk/test/pecoff/alternatename.test
    lld/trunk/test/pecoff/armnt-blx23t.test
    lld/trunk/test/pecoff/armnt-branch24t.test
    lld/trunk/test/pecoff/armnt-mov32t-exec.test
    lld/trunk/test/pecoff/armnt-movt32t.test
    lld/trunk/test/pecoff/common-symbol.test
    lld/trunk/test/pecoff/hello64.test
    lld/trunk/test/pecoff/imagebase.test
    lld/trunk/test/pecoff/importlib.test
    lld/trunk/test/pecoff/lib.test
    lld/trunk/test/pecoff/multi.test
    lld/trunk/test/pecoff/reloc.test
    lld/trunk/test/pecoff/reloc64.test

Modified: lld/trunk/test/elf/Mips/base-address.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Mips/base-address.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/elf/Mips/base-address.test (original)
+++ lld/trunk/test/elf/Mips/base-address.test Fri Jan 23 21:55:22 2015
@@ -1,4 +1,4 @@
-# REQUIRES: Mips
+# REQUIRES: mips
 
 # Check executable base address configuration. Base address should be
 # equal to 0x400000 and the MIPS_BASE_ADDRESS dynamic tag's value should

Modified: lld/trunk/test/elf/ifunc.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/ifunc.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/elf/ifunc.test (original)
+++ lld/trunk/test/elf/ifunc.test Fri Jan 23 21:55:22 2015
@@ -1,4 +1,4 @@
-# REQUIRES: X86
+# REQUIRES: x86
 
 # This test checks that IRELATIVE relocations are created for symbols that
 # need relocation even for static links.

Modified: lld/trunk/test/elf/tls.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/tls.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/elf/tls.test (original)
+++ lld/trunk/test/elf/tls.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# 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

Modified: lld/trunk/test/elf/x86_64-kinds.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/x86_64-kinds.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/elf/x86_64-kinds.test (original)
+++ lld/trunk/test/elf/x86_64-kinds.test Fri Jan 23 21:55:22 2015
@@ -1,4 +1,4 @@
-REQUIRES: X86
+REQUIRES: x86
 
 RUN: lld -flavor gnu -target x86_64-linux -o %t1 %p/Inputs/relocs.x86-64 \
 RUN:   -e _start -static

Modified: lld/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/lit.cfg (original)
+++ lld/trunk/test/lit.cfg Fri Jan 23 21:55:22 2015
@@ -155,6 +155,8 @@ if re.search(r'ARM', llvm_config_output_
     config.available_features.add('arm')
 if re.search(r'Mips', llvm_config_output_list[2]):
     config.available_features.add('mips')
+if re.search(r'X86', llvm_config_output_list[2]):
+    config.available_features.add('x86')
 llvm_config_cmd.wait()
 
 # Check if Windows resource file compiler exists.

Modified: lld/trunk/test/mach-o/lazy-bind-x86_64.yaml
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/mach-o/lazy-bind-x86_64.yaml?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/mach-o/lazy-bind-x86_64.yaml (original)
+++ lld/trunk/test/mach-o/lazy-bind-x86_64.yaml Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# 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

Modified: lld/trunk/test/pecoff/alternatename.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/alternatename.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/alternatename.test (original)
+++ lld/trunk/test/pecoff/alternatename.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# 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

Modified: lld/trunk/test/pecoff/armnt-blx23t.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/armnt-blx23t.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/armnt-blx23t.test (original)
+++ lld/trunk/test/pecoff/armnt-blx23t.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: ARM
-#
+# 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

Modified: lld/trunk/test/pecoff/armnt-branch24t.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/armnt-branch24t.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/armnt-branch24t.test (original)
+++ lld/trunk/test/pecoff/armnt-branch24t.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: ARM
-#
+# 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

Modified: lld/trunk/test/pecoff/armnt-mov32t-exec.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/armnt-mov32t-exec.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/armnt-mov32t-exec.test (original)
+++ lld/trunk/test/pecoff/armnt-mov32t-exec.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: ARM
-#
+# 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

Modified: lld/trunk/test/pecoff/armnt-movt32t.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/armnt-movt32t.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/armnt-movt32t.test (original)
+++ lld/trunk/test/pecoff/armnt-movt32t.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: ARM
-#
+# 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

Modified: lld/trunk/test/pecoff/common-symbol.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/common-symbol.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/common-symbol.test (original)
+++ lld/trunk/test/pecoff/common-symbol.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
 # RUN: yaml2obj %p/Inputs/common-symbol.obj.yaml > %t.obj
 #
 # RUN: lld -flavor link /machine:x64 /out:%t.exe /subsystem:console /force \

Modified: lld/trunk/test/pecoff/hello64.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/hello64.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/hello64.test (original)
+++ lld/trunk/test/pecoff/hello64.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
 # RUN: yaml2obj %p/Inputs/hello64.obj.yaml > %t.obj
 
 # RUN: lld -flavor link /out:%t.exe /subsystem:windows /machine:x64 \

Modified: lld/trunk/test/pecoff/imagebase.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/imagebase.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/imagebase.test (original)
+++ lld/trunk/test/pecoff/imagebase.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
 # RUN: yaml2obj %p/Inputs/imagebase.obj.yaml > %t.obj
 
 # RUN: lld -flavor link /out:%t1.exe /subsystem:console /entry:_start \

Modified: lld/trunk/test/pecoff/importlib.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/importlib.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/importlib.test (original)
+++ lld/trunk/test/pecoff/importlib.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
 # Verify that lld can handle .lib files. "main.obj" refers "var" and
 # "fn" defined in "vars.lib".
 #

Modified: lld/trunk/test/pecoff/lib.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/lib.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/lib.test (original)
+++ lld/trunk/test/pecoff/lib.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
 # Verify that lld can handle a library file.
 #
 # RUN: yaml2obj %p/Inputs/main.obj.yaml > %t.obj

Modified: lld/trunk/test/pecoff/multi.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/multi.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/multi.test (original)
+++ lld/trunk/test/pecoff/multi.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
 # Verify that lld can handle multiple input files.
 #
 # RUN: yaml2obj %p/Inputs/main.obj.yaml > %t1.obj

Modified: lld/trunk/test/pecoff/reloc.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/reloc.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/reloc.test (original)
+++ lld/trunk/test/pecoff/reloc.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
 # RUN: yaml2obj %p/Inputs/reloc.obj.yaml > %t.obj
 #
 # RUN: lld -flavor link /out:%t.exe /subsystem:console /force /opt:noref \

Modified: lld/trunk/test/pecoff/reloc64.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/pecoff/reloc64.test?rev=226985&r1=226984&r2=226985&view=diff
==============================================================================
--- lld/trunk/test/pecoff/reloc64.test (original)
+++ lld/trunk/test/pecoff/reloc64.test Fri Jan 23 21:55:22 2015
@@ -1,5 +1,5 @@
-# REQUIRES: X86
-#
+# REQUIRES: x86
+
 # RUN: yaml2obj %p/Inputs/reloc64.obj.yaml > %t.obj
 
 # RUN: lld -flavor link /out:%t.exe /subsystem:console /machine:x64 \





More information about the llvm-commits mailing list