diff options
-rw-r--r-- | lld/test/elf/ifunc.test | 2 | ||||
-rw-r--r-- | lld/test/elf/tls.test | 2 | ||||
-rw-r--r-- | lld/test/elf/x86_64-kinds.test | 2 | ||||
-rw-r--r-- | lld/test/mach-o/lazy-bind-x86_64.yaml | 2 | ||||
-rw-r--r-- | lld/test/pecoff/alternatename.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/armnt-blx23t.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/armnt-branch24t.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/armnt-mov32t-exec.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/armnt-movt32t.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/common-symbol.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/hello64.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/imagebase.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/importlib.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/lib.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/multi.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/reloc.test | 2 | ||||
-rw-r--r-- | lld/test/pecoff/reloc64.test | 2 |
17 files changed, 34 insertions, 0 deletions
diff --git a/lld/test/elf/ifunc.test b/lld/test/elf/ifunc.test index 62c20e40296..e0c08bd10e4 100644 --- a/lld/test/elf/ifunc.test +++ b/lld/test/elf/ifunc.test @@ -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 \ diff --git a/lld/test/elf/tls.test b/lld/test/elf/tls.test index 0eb6393fe9d..9a7e9779e68 100644 --- a/lld/test/elf/tls.test +++ b/lld/test/elf/tls.test @@ -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 diff --git a/lld/test/elf/x86_64-kinds.test b/lld/test/elf/x86_64-kinds.test index 2844fc7e918..60e69014ec3 100644 --- a/lld/test/elf/x86_64-kinds.test +++ b/lld/test/elf/x86_64-kinds.test @@ -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 diff --git a/lld/test/mach-o/lazy-bind-x86_64.yaml b/lld/test/mach-o/lazy-bind-x86_64.yaml index a6800098823..b817086918a 100644 --- a/lld/test/mach-o/lazy-bind-x86_64.yaml +++ b/lld/test/mach-o/lazy-bind-x86_64.yaml @@ -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 diff --git a/lld/test/pecoff/alternatename.test b/lld/test/pecoff/alternatename.test index 4901fffb20d..03cf0f794e8 100644 --- a/lld/test/pecoff/alternatename.test +++ b/lld/test/pecoff/alternatename.test @@ -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 diff --git a/lld/test/pecoff/armnt-blx23t.test b/lld/test/pecoff/armnt-blx23t.test index bacd99182bc..60f5a35854f 100644 --- a/lld/test/pecoff/armnt-blx23t.test +++ b/lld/test/pecoff/armnt-blx23t.test @@ -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 diff --git a/lld/test/pecoff/armnt-branch24t.test b/lld/test/pecoff/armnt-branch24t.test index bcb0a513d82..c269033d010 100644 --- a/lld/test/pecoff/armnt-branch24t.test +++ b/lld/test/pecoff/armnt-branch24t.test @@ -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 diff --git a/lld/test/pecoff/armnt-mov32t-exec.test b/lld/test/pecoff/armnt-mov32t-exec.test index c98c9cf10cd..73ca145aeb9 100644 --- a/lld/test/pecoff/armnt-mov32t-exec.test +++ b/lld/test/pecoff/armnt-mov32t-exec.test @@ -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 diff --git a/lld/test/pecoff/armnt-movt32t.test b/lld/test/pecoff/armnt-movt32t.test index d991f9c5432..9009648c382 100644 --- a/lld/test/pecoff/armnt-movt32t.test +++ b/lld/test/pecoff/armnt-movt32t.test @@ -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 diff --git a/lld/test/pecoff/common-symbol.test b/lld/test/pecoff/common-symbol.test index e88511e9fdb..a2ba5b18292 100644 --- a/lld/test/pecoff/common-symbol.test +++ b/lld/test/pecoff/common-symbol.test @@ -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 \ diff --git a/lld/test/pecoff/hello64.test b/lld/test/pecoff/hello64.test index cd71da160bf..30a12febd0a 100644 --- a/lld/test/pecoff/hello64.test +++ b/lld/test/pecoff/hello64.test @@ -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 \ diff --git a/lld/test/pecoff/imagebase.test b/lld/test/pecoff/imagebase.test index 025a517c8ea..4ef00379ded 100644 --- a/lld/test/pecoff/imagebase.test +++ b/lld/test/pecoff/imagebase.test @@ -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 \ diff --git a/lld/test/pecoff/importlib.test b/lld/test/pecoff/importlib.test index 88765775279..7f1ee6b4434 100644 --- a/lld/test/pecoff/importlib.test +++ b/lld/test/pecoff/importlib.test @@ -1,3 +1,5 @@ +# REQUIRES: X86 +# # Verify that lld can handle .lib files. "main.obj" refers "var" and # "fn" defined in "vars.lib". # diff --git a/lld/test/pecoff/lib.test b/lld/test/pecoff/lib.test index 676390dd573..c8e0c0c3c14 100644 --- a/lld/test/pecoff/lib.test +++ b/lld/test/pecoff/lib.test @@ -1,3 +1,5 @@ +# REQUIRES: X86 +# # Verify that lld can handle a library file. # # RUN: yaml2obj %p/Inputs/main.obj.yaml > %t.obj diff --git a/lld/test/pecoff/multi.test b/lld/test/pecoff/multi.test index 0ce2c3783db..5362f4386f3 100644 --- a/lld/test/pecoff/multi.test +++ b/lld/test/pecoff/multi.test @@ -1,3 +1,5 @@ +# REQUIRES: X86 +# # Verify that lld can handle multiple input files. # # RUN: yaml2obj %p/Inputs/main.obj.yaml > %t1.obj diff --git a/lld/test/pecoff/reloc.test b/lld/test/pecoff/reloc.test index ba1e9353c09..a461074db62 100644 --- a/lld/test/pecoff/reloc.test +++ b/lld/test/pecoff/reloc.test @@ -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 \ diff --git a/lld/test/pecoff/reloc64.test b/lld/test/pecoff/reloc64.test index 262afb6076b..ae25fe565f6 100644 --- a/lld/test/pecoff/reloc64.test +++ b/lld/test/pecoff/reloc64.test @@ -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 \ |