Fix REQUIRES lines added in r226951 and add the x86 feature if the X86 target was compiled in
llvm-svn: 226985
This commit is contained in:
parent
b80a8dce03
commit
d1787adcec
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -155,6 +155,8 @@ if re.search(r'ARM', llvm_config_output_list[2]):
|
|||
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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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".
|
||||
#
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue