[lld] r308335 - [LLD] Mark a number of x86 only tests to require x86
Jon Chesterfield via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 18 11:40:51 PDT 2017
Author: jonchesterfield
Date: Tue Jul 18 11:40:50 2017
New Revision: 308335
URL: http://llvm.org/viewvc/llvm-project?rev=308335&view=rev
Log:
[LLD] Mark a number of x86 only tests to require x86
Noticed while testing for an out of tree target. There are probably more tests that should be so marked.
I'm not sure who owns these tests so I've added a few names I recognise from the recent history.
With advice from probinson, ruiu, rafael and dramatically improved by davidb. Thank you all!
Differential Revision: https://reviews.llvm.org/D34685
Modified:
lld/trunk/test/COFF/common.test
lld/trunk/test/COFF/conflict.test
lld/trunk/test/COFF/constant.test
lld/trunk/test/COFF/def-export-stdcall.s
lld/trunk/test/COFF/delayimports32.test
lld/trunk/test/COFF/entry-mangled.test
lld/trunk/test/COFF/entrylib.ll
lld/trunk/test/COFF/imports.test
lld/trunk/test/COFF/include-lto.ll
lld/trunk/test/COFF/msvclto-archive.ll
lld/trunk/test/COFF/msvclto-order.ll
lld/trunk/test/COFF/msvclto.ll
lld/trunk/test/COFF/pdb-lib.s
lld/trunk/test/COFF/savetemps.ll
lld/trunk/test/COFF/thinlto-archives.ll
lld/trunk/test/COFF/thinlto-mangled.ll
lld/trunk/test/COFF/thinlto.ll
lld/trunk/test/ELF/allow-shlib-undefined.s
lld/trunk/test/ELF/auxiliary.s
lld/trunk/test/ELF/gdb-index-empty.s
lld/trunk/test/ELF/gdb-index-gc-sections.s
lld/trunk/test/ELF/i386-reloc-large-addend.s
lld/trunk/test/ELF/i386-reloc-range.s
lld/trunk/test/ELF/linkerscript/output-too-large.s
lld/trunk/test/ELF/lto/available-externally.ll
lld/trunk/test/ELF/lto/comdat2.ll
lld/trunk/test/ELF/lto/common2.ll
lld/trunk/test/ELF/lto/common3.ll
lld/trunk/test/ELF/lto/discard-value-names.ll
lld/trunk/test/ELF/lto/opt-level.ll
lld/trunk/test/ELF/lto/opt-remarks.ll
lld/trunk/test/ELF/lto/relax-relocs.ll
lld/trunk/test/ELF/lto/thin-archivecollision.ll
lld/trunk/test/ELF/lto/thinlto.ll
lld/trunk/test/ELF/lto/type-merge2.ll
lld/trunk/test/ELF/lto/unnamed-addr-comdat.ll
lld/trunk/test/ELF/lto/unnamed-addr-drop.ll
lld/trunk/test/ELF/lto/unnamed-addr.ll
lld/trunk/test/ELF/many-alloc-sections.s
lld/trunk/test/ELF/many-sections.s
lld/trunk/test/ELF/merge-section-types.s
lld/trunk/test/ELF/new-dtags.test
lld/trunk/test/ELF/no-obj.s
lld/trunk/test/ELF/no-soname.s
lld/trunk/test/ELF/no-symtab.s
lld/trunk/test/ELF/no-undefined.s
lld/trunk/test/ELF/pie-weak.s
lld/trunk/test/ELF/progname.s
lld/trunk/test/ELF/relative-dynamic-reloc-pie.s
lld/trunk/test/ELF/relative-dynamic-reloc.s
lld/trunk/test/ELF/relocatable-compressed-input.s
lld/trunk/test/ELF/relocatable-reloc.s
lld/trunk/test/ELF/relocatable-section-symbol.s
lld/trunk/test/ELF/relocatable-sections.s
lld/trunk/test/ELF/relocatable-tls.s
lld/trunk/test/ELF/relocation-shared.s
Modified: lld/trunk/test/COFF/common.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/common.test?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/common.test (original)
+++ lld/trunk/test/COFF/common.test Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: yaml2obj %s > %t.obj
# RUN: lld-link /out:%t.exe /entry:main %t.obj %t.obj
# RUN: llvm-objdump -d %t.exe | FileCheck %s
Modified: lld/trunk/test/COFF/conflict.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/conflict.test?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/conflict.test (original)
+++ lld/trunk/test/COFF/conflict.test Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: yaml2obj < %s > %t1.obj
# RUN: yaml2obj < %s > %t2.obj
# RUN: not lld-link /out:%t.exe %t1.obj %t2.obj >& %t.log
Modified: lld/trunk/test/COFF/constant.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/constant.test?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/constant.test (original)
+++ lld/trunk/test/COFF/constant.test Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+REQUIRES: x86
RUN: mkdir -p %t
RUN: llvm-mc -triple i686-unknown-windows-msvc -filetype obj -o %t/import.o %S/Inputs/constant-import.s
RUN: llc -mtriple i686-unknown-windows-msvc -filetype obj -o %t/export.o %S/Inputs/constant-export.ll
Modified: lld/trunk/test/COFF/def-export-stdcall.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/def-export-stdcall.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/def-export-stdcall.s (original)
+++ lld/trunk/test/COFF/def-export-stdcall.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=i686-windows-msvc %s -o %t.obj
# RUN: echo -e "LIBRARY foo\nEXPORTS\n stdcall" > %t.def
# RUN: lld-link -entry:dllmain -dll -def:%t.def %t.obj -out:%t.dll -implib:%t.lib
Modified: lld/trunk/test/COFF/delayimports32.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/delayimports32.test?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/delayimports32.test (original)
+++ lld/trunk/test/COFF/delayimports32.test Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: yaml2obj < %p/Inputs/hello32.yaml > %t.obj
# RUN: lld-link %t.obj %p/Inputs/std32.lib /subsystem:console \
# RUN: /entry:main at 0 /alternatename:___delayLoadHelper2 at 8=_main at 0 \
Modified: lld/trunk/test/COFF/entry-mangled.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/entry-mangled.test?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/entry-mangled.test (original)
+++ lld/trunk/test/COFF/entry-mangled.test Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: yaml2obj < %s > %t.obj
# RUN: lld-link /out:%t.exe /entry:main %t.obj
# RUN: llvm-as -o %t.lto.obj %S/Inputs/entry-mangled.ll
Modified: lld/trunk/test/COFF/entrylib.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/entrylib.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/entrylib.ll (original)
+++ lld/trunk/test/COFF/entrylib.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as -o %t.obj %s
; RUN: rm -f %t.lib
; RUN: llvm-ar cru %t.lib %t.obj
Modified: lld/trunk/test/COFF/imports.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/imports.test?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/imports.test (original)
+++ lld/trunk/test/COFF/imports.test Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# Verify that the lld can handle .lib files and emit .idata sections.
#
# RUN: lld-link /out:%t.exe /entry:main /subsystem:console \
Modified: lld/trunk/test/COFF/include-lto.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/include-lto.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/include-lto.ll (original)
+++ lld/trunk/test/COFF/include-lto.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as -o %t.obj %s
; RUN: lld-link /dll /out:%t.dll %t.obj
; RUN: llvm-objdump -d %t.dll | FileCheck %s
Modified: lld/trunk/test/COFF/msvclto-archive.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/msvclto-archive.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/msvclto-archive.ll (original)
+++ lld/trunk/test/COFF/msvclto-archive.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
;; Make sure we re-create archive files to strip bitcode files.
;; Do not create empty archives because the MSVC linker
Modified: lld/trunk/test/COFF/msvclto-order.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/msvclto-order.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/msvclto-order.ll (original)
+++ lld/trunk/test/COFF/msvclto-order.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: opt -thinlto-bc %s -o %t.obj
; RUN: llc -filetype=obj %S/Inputs/msvclto-order-a.ll -o %T/msvclto-order-a.obj
; RUN: llvm-ar crs %T/msvclto-order-a.lib %T/msvclto-order-a.obj
Modified: lld/trunk/test/COFF/msvclto.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/msvclto.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/msvclto.ll (original)
+++ lld/trunk/test/COFF/msvclto.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as -o %t.obj %s
; RUN: mkdir -p %t.dir
; RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %t.dir/bitcode.obj %p/Inputs/msvclto.s
Modified: lld/trunk/test/COFF/pdb-lib.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/pdb-lib.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/pdb-lib.s (original)
+++ lld/trunk/test/COFF/pdb-lib.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: rm -rf %t && mkdir -p %t && cd %t
# RUN: llvm-mc -filetype=obj -triple=i686-windows-msvc %s -o foo.obj
# RUN: llc %S/Inputs/bar.ll -filetype=obj -mtriple=i686-windows-msvc -o bar.obj
Modified: lld/trunk/test/COFF/savetemps.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/savetemps.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/savetemps.ll (original)
+++ lld/trunk/test/COFF/savetemps.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: rm -fr %T/savetemps
; RUN: mkdir %T/savetemps
; RUN: llvm-as -o %T/savetemps/savetemps.obj %s
Modified: lld/trunk/test/COFF/thinlto-archives.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/thinlto-archives.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/thinlto-archives.ll (original)
+++ lld/trunk/test/COFF/thinlto-archives.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: rm -fr %T/thinlto-archives
; RUN: mkdir %T/thinlto-archives %T/thinlto-archives/a %T/thinlto-archives/b
; RUN: opt -thinlto-bc -o %T/thinlto-archives/main.obj %s
Modified: lld/trunk/test/COFF/thinlto-mangled.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/thinlto-mangled.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/thinlto-mangled.ll (original)
+++ lld/trunk/test/COFF/thinlto-mangled.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: opt -thinlto-bc %s -o %t.obj
; RUN: opt -thinlto-bc %S/Inputs/thinlto-mangled-qux.ll -o %T/thinlto-mangled-qux.obj
; RUN: lld-link -out:%t.exe -entry:main %t.obj %T/thinlto-mangled-qux.obj
Modified: lld/trunk/test/COFF/thinlto.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/thinlto.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/COFF/thinlto.ll (original)
+++ lld/trunk/test/COFF/thinlto.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: rm -fr %T/thinlto
; RUN: mkdir %T/thinlto
; RUN: opt -thinlto-bc -o %T/thinlto/main.obj %s
Modified: lld/trunk/test/ELF/allow-shlib-undefined.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/allow-shlib-undefined.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/allow-shlib-undefined.s (original)
+++ lld/trunk/test/ELF/allow-shlib-undefined.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# --allow-shlib-undefined and --no-allow-shlib-undefined are fully
# ignored in linker implementation.
# --allow-shlib-undefined is set by default
Modified: lld/trunk/test/ELF/auxiliary.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/auxiliary.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/auxiliary.s (original)
+++ lld/trunk/test/ELF/auxiliary.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld %t.o -shared -f aaa --auxiliary bbb -o %t
# RUN: llvm-readobj --dynamic-table %t | FileCheck %s
Modified: lld/trunk/test/ELF/gdb-index-empty.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gdb-index-empty.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/gdb-index-empty.s (original)
+++ lld/trunk/test/ELF/gdb-index-empty.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o %t %s
# RUN: ld.lld --gdb-index --gc-sections -o %t2 %t
# RUN: llvm-dwarfdump -debug-dump=gdb_index %t2 | FileCheck %s
Modified: lld/trunk/test/ELF/gdb-index-gc-sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/gdb-index-gc-sections.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/gdb-index-gc-sections.s (original)
+++ lld/trunk/test/ELF/gdb-index-gc-sections.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux -o %t %s
# RUN: ld.lld --gdb-index --gc-sections -o %t2 %t
# RUN: llvm-dwarfdump -debug-dump=gdb_index %t2 | FileCheck %s
Modified: lld/trunk/test/ELF/i386-reloc-large-addend.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-reloc-large-addend.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-reloc-large-addend.s (original)
+++ lld/trunk/test/ELF/i386-reloc-large-addend.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc %s -o %t.o -triple i386-pc-linux-code16 -filetype=obj
// RUN: echo ".global foo; foo = 0x1" > %t1.s
Modified: lld/trunk/test/ELF/i386-reloc-range.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/i386-reloc-range.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/i386-reloc-range.s (original)
+++ lld/trunk/test/ELF/i386-reloc-range.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc %s -o %t.o -triple i386-pc-linux-code16 -filetype=obj
// RUN: echo ".global foo; foo = 0x10202" > %t1.s
Modified: lld/trunk/test/ELF/linkerscript/output-too-large.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/output-too-large.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/output-too-large.s (original)
+++ lld/trunk/test/ELF/linkerscript/output-too-large.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %s -o %t.o
# RUN: echo "SECTIONS { .text : { . = 0xffffffff; *(.text*); } }" > %t.script
# RUN: not ld.lld --script %t.script %t.o -o %t 2>&1 | FileCheck %s
Modified: lld/trunk/test/ELF/lto/available-externally.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/available-externally.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/available-externally.ll (original)
+++ lld/trunk/test/ELF/lto/available-externally.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
; RUN: llvm-as %s -o %t1.o
; RUN: llvm-as %p/Inputs/available-externally.ll -o %t2.o
; RUN: ld.lld %t1.o %t2.o -m elf_x86_64 -o %t.so -shared -save-temps
Modified: lld/trunk/test/ELF/lto/comdat2.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/comdat2.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/comdat2.ll (original)
+++ lld/trunk/test/ELF/lto/comdat2.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
; RUN: llvm-mc -triple=x86_64-pc-linux %p/Inputs/comdat.s -o %t2.o -filetype=obj
; RUN: ld.lld -m elf_x86_64 %t.o %t2.o -o %t.so -shared
Modified: lld/trunk/test/ELF/lto/common2.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/common2.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/common2.ll (original)
+++ lld/trunk/test/ELF/lto/common2.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as %s -o %t1.o
; RUN: ld.lld -m elf_x86_64 %t1.o -o %t -shared -save-temps
; RUN: llvm-dis < %t.0.2.internalize.bc | FileCheck %s
Modified: lld/trunk/test/ELF/lto/common3.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/common3.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/common3.ll (original)
+++ lld/trunk/test/ELF/lto/common3.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as %s -o %t1.o
; RUN: llvm-as %S/Inputs/common3.ll -o %t2.o
; RUN: ld.lld -m elf_x86_64 %t1.o %t2.o -o %t -shared -save-temps
Modified: lld/trunk/test/ELF/lto/discard-value-names.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/discard-value-names.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/discard-value-names.ll (original)
+++ lld/trunk/test/ELF/lto/discard-value-names.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
; RUN: ld.lld -m elf_x86_64 -shared -save-temps %t.o -o %t2.o
Modified: lld/trunk/test/ELF/lto/opt-level.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/opt-level.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/opt-level.ll (original)
+++ lld/trunk/test/ELF/lto/opt-level.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as -o %t.o %s
; RUN: ld.lld -o %t0 -m elf_x86_64 -e main --lto-O0 %t.o
; RUN: llvm-nm %t0 | FileCheck --check-prefix=CHECK-O0 %s
Modified: lld/trunk/test/ELF/lto/opt-remarks.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/opt-remarks.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/opt-remarks.ll (original)
+++ lld/trunk/test/ELF/lto/opt-remarks.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
; RUN: rm -f %t.yaml
Modified: lld/trunk/test/ELF/lto/relax-relocs.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/relax-relocs.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/relax-relocs.ll (original)
+++ lld/trunk/test/ELF/lto/relax-relocs.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
; RUN: ld.lld -m elf_x86_64 -save-temps -shared %t.o -o %t.so
; RUN: llvm-readobj -r %t.so.lto.o | FileCheck %s
Modified: lld/trunk/test/ELF/lto/thin-archivecollision.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/thin-archivecollision.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/thin-archivecollision.ll (original)
+++ lld/trunk/test/ELF/lto/thin-archivecollision.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: opt -module-summary %s -o %t.o
; RUN: mkdir -p %t1 %t2
; RUN: opt -module-summary %p/Inputs/thin1.ll -o %t1/t.coll.o
Modified: lld/trunk/test/ELF/lto/thinlto.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/thinlto.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/thinlto.ll (original)
+++ lld/trunk/test/ELF/lto/thinlto.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; Basic ThinLTO tests.
; RUN: opt -module-summary %s -o %t.o
; RUN: opt -module-summary %p/Inputs/thinlto.ll -o %t2.o
Modified: lld/trunk/test/ELF/lto/type-merge2.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/type-merge2.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/type-merge2.ll (original)
+++ lld/trunk/test/ELF/lto/type-merge2.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
; RUN: llvm-as %p/Inputs/type-merge2.ll -o %t2.o
; RUN: ld.lld -m elf_x86_64 %t.o %t2.o -o %t.so -shared -save-temps
Modified: lld/trunk/test/ELF/lto/unnamed-addr-comdat.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/unnamed-addr-comdat.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/unnamed-addr-comdat.ll (original)
+++ lld/trunk/test/ELF/lto/unnamed-addr-comdat.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
; RUN: ld.lld -m elf_x86_64 %t.o %t.o -o %t.so -save-temps -shared
; RUN: llvm-dis %t.so.0.2.internalize.bc -o - | FileCheck %s
Modified: lld/trunk/test/ELF/lto/unnamed-addr-drop.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/unnamed-addr-drop.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/unnamed-addr-drop.ll (original)
+++ lld/trunk/test/ELF/lto/unnamed-addr-drop.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as %s -o %t1.o
; RUN: llvm-as %S/Inputs/unnamed-addr-drop.ll -o %t2.o
; RUN: ld.lld -m elf_x86_64 %t1.o %t2.o -o %t.so -save-temps -shared
Modified: lld/trunk/test/ELF/lto/unnamed-addr.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/unnamed-addr.ll?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/unnamed-addr.ll (original)
+++ lld/trunk/test/ELF/lto/unnamed-addr.ll Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+; REQUIRES: x86
; RUN: llvm-as %s -o %t.o
; RUN: ld.lld -m elf_x86_64 %t.o -o %t.so -save-temps -shared
; RUN: llvm-dis %t.so.0.4.opt.bc -o - | FileCheck %s
Modified: lld/trunk/test/ELF/many-alloc-sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/many-alloc-sections.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/many-alloc-sections.s (original)
+++ lld/trunk/test/ELF/many-alloc-sections.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t.o
// RUN: echo "SECTIONS { . = SIZEOF_HEADERS; .text : { *(.text) } }" > %t.script
// FIXME: threads are disable because the test is too slow with them (PR32942).
Modified: lld/trunk/test/ELF/many-sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/many-sections.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/many-sections.s (original)
+++ lld/trunk/test/ELF/many-sections.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
// RUN: llvm-readobj -t %t | FileCheck %s
Modified: lld/trunk/test/ELF/merge-section-types.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/merge-section-types.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/merge-section-types.s (original)
+++ lld/trunk/test/ELF/merge-section-types.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld -shared %t.o -o %t
// RUN: llvm-readobj -s %t | FileCheck %s
Modified: lld/trunk/test/ELF/new-dtags.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/new-dtags.test?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/new-dtags.test (original)
+++ lld/trunk/test/ELF/new-dtags.test Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld %t.o -rpath=/somepath -shared --disable-new-dtags -o %t
// RUN: ld.lld %t.o -rpath=/somepath -shared --enable-new-dtags -o %t2
Modified: lld/trunk/test/ELF/no-obj.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/no-obj.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/no-obj.s (original)
+++ lld/trunk/test/ELF/no-obj.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: llvm-ar rcs %t.a %t.o
// RUN: not ld.lld -o %t2 -u _start %t.a 2>&1 | FileCheck %s
Modified: lld/trunk/test/ELF/no-soname.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/no-soname.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/no-soname.s (original)
+++ lld/trunk/test/ELF/no-soname.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: mkdir -p %T/no-soname
// RUN: ld.lld %t.o -shared -o %T/no-soname/libfoo.so
Modified: lld/trunk/test/ELF/no-symtab.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/no-symtab.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/no-symtab.s (original)
+++ lld/trunk/test/ELF/no-symtab.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld %t.o %p/Inputs/no-symtab.o -o %t
.global _start
Modified: lld/trunk/test/ELF/no-undefined.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/no-undefined.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/no-undefined.s (original)
+++ lld/trunk/test/ELF/no-undefined.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: not ld.lld --no-undefined -shared %t -o %t.so
# RUN: ld.lld -shared %t -o %t1.so
Modified: lld/trunk/test/ELF/pie-weak.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/pie-weak.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/pie-weak.s (original)
+++ lld/trunk/test/ELF/pie-weak.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -relax-relocations=false -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld -pie %t.o -o %t
# RUN: llvm-readobj -r %t | FileCheck --check-prefix=RELOCS %s
Modified: lld/trunk/test/ELF/progname.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/progname.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/progname.s (original)
+++ lld/trunk/test/ELF/progname.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: echo .global __progname > %t2.s
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t2.s -o %t2.o
Modified: lld/trunk/test/ELF/relative-dynamic-reloc-pie.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relative-dynamic-reloc-pie.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/relative-dynamic-reloc-pie.s (original)
+++ lld/trunk/test/ELF/relative-dynamic-reloc-pie.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld -pie %t.o -o %t.pie
# RUN: llvm-readobj -r -dyn-symbols %t.pie | FileCheck %s
Modified: lld/trunk/test/ELF/relative-dynamic-reloc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relative-dynamic-reloc.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/relative-dynamic-reloc.s (original)
+++ lld/trunk/test/ELF/relative-dynamic-reloc.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
// RUN: ld.lld -shared %t.o -o %t.so
// RUN: llvm-readobj -t -r -dyn-symbols %t.so | FileCheck %s
Modified: lld/trunk/test/ELF/relocatable-compressed-input.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable-compressed-input.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable-compressed-input.s (original)
+++ lld/trunk/test/ELF/relocatable-compressed-input.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# REQUIRES: zlib
# RUN: llvm-mc -compress-debug-sections=zlib-gnu -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
Modified: lld/trunk/test/ELF/relocatable-reloc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable-reloc.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable-reloc.s (original)
+++ lld/trunk/test/ELF/relocatable-reloc.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc -filetype=obj %s -o %t.o -triple=x86_64-pc-linux
// RUN: ld.lld %t.o %t.o -r -o %t2.o
// RUN: llvm-readobj -r %t2.o | FileCheck %s
Modified: lld/trunk/test/ELF/relocatable-section-symbol.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable-section-symbol.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable-section-symbol.s (original)
+++ lld/trunk/test/ELF/relocatable-section-symbol.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld -r -o %t %t.o %t.o
# RUN: llvm-readobj -r %t | FileCheck --check-prefix=RELA %s
Modified: lld/trunk/test/ELF/relocatable-sections.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable-sections.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable-sections.s (original)
+++ lld/trunk/test/ELF/relocatable-sections.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
# RUN: ld.lld -r %t1.o -o %t
# RUN: llvm-objdump -section-headers %t | FileCheck %s
Modified: lld/trunk/test/ELF/relocatable-tls.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocatable-tls.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocatable-tls.s (original)
+++ lld/trunk/test/ELF/relocatable-tls.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux \
# RUN: %S/Inputs/relocatable-tls.s -o %t2.o
Modified: lld/trunk/test/ELF/relocation-shared.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/relocation-shared.s?rev=308335&r1=308334&r2=308335&view=diff
==============================================================================
--- lld/trunk/test/ELF/relocation-shared.s (original)
+++ lld/trunk/test/ELF/relocation-shared.s Tue Jul 18 11:40:50 2017
@@ -1,3 +1,4 @@
+// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: ld.lld %t.o -shared -o %t.so
// RUN: llvm-readobj -r -s -section-data %t.so | FileCheck %s
More information about the llvm-commits
mailing list