Index: test/COFF/associative-comdat.s =================================================================== --- test/COFF/associative-comdat.s +++ test/COFF/associative-comdat.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple=x86_64-windows-msvc %s -filetype=obj -o %t1.obj # RUN: llvm-mc -triple=x86_64-windows-msvc %S/Inputs/associative-comdat-2.s -filetype=obj -o %t2.obj Index: test/COFF/dll.test =================================================================== --- test/COFF/dll.test +++ test/COFF/dll.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: yaml2obj < %p/Inputs/export.yaml > %t.obj # RUN: lld-link /out:%t.dll /dll %t.obj /export:exportfn1 /export:exportfn2 \ # RUN: /export:mangled Index: test/COFF/dllexport-mingw.s =================================================================== --- test/COFF/dllexport-mingw.s +++ test/COFF/dllexport-mingw.s @@ -1,4 +1,4 @@ -# REQEUIRES: x86 +# REQUIRES: x86 # RUN: llvm-mc -triple=i686-windows-gnu %s -filetype=obj -o %t.obj Index: test/COFF/duplicate.test =================================================================== --- test/COFF/duplicate.test +++ test/COFF/duplicate.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 RUN: llc -mtriple x86_64-windows-msvc -filetype obj -o alpha.obj %S/Inputs/alpha.ll RUN: llc -mtriple x86_64-windows-msvc -filetype obj -o beta.obj %S/Inputs/beta.ll RUN: lld-link /out:alpha.dll /dll alpha.obj /implib:alpha.lib Index: test/COFF/export-all.s =================================================================== --- test/COFF/export-all.s +++ test/COFF/export-all.s @@ -1,4 +1,4 @@ -# REQEUIRES: x86 +# REQUIRES: x86 # RUN: llvm-mc -triple=i686-windows-gnu %s -filetype=obj -o %t.obj Index: test/COFF/gfids-corrupt.s =================================================================== --- test/COFF/gfids-corrupt.s +++ test/COFF/gfids-corrupt.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple x86_64-windows-msvc %s -filetype=obj -o %t.obj # RUN: lld-link %t.obj -opt:noref -guard:nolongjmp -out:%t.exe -entry:main 2>&1 | FileCheck %s --check-prefix=ERRS # RUN: llvm-readobj -file-headers -coff-load-config %t.exe | FileCheck %s Index: test/COFF/gfids-fallback.s =================================================================== --- test/COFF/gfids-fallback.s +++ test/COFF/gfids-fallback.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: grep -B99999 [S]PLITMARKER %s | llvm-mc -triple x86_64-windows-msvc -filetype=obj -o %t1.obj # RUN: grep -A99999 [S]PLITMARKER %s | llvm-mc -triple x86_64-windows-msvc -filetype=obj -o %t2.obj # RUN: lld-link %t1.obj %t2.obj -guard:nolongjmp -out:%t.exe -entry:main -opt:noref Index: test/COFF/gfids-gc.s =================================================================== --- test/COFF/gfids-gc.s +++ test/COFF/gfids-gc.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple x86_64-windows-msvc %s -filetype=obj -o %t.obj # RUN: lld-link %t.obj -guard:nolongjmp -out:%t.exe -opt:noref -entry:main # RUN: llvm-readobj -file-headers -coff-load-config %t.exe | FileCheck %s --check-prefix=CHECK-NOGC Index: test/COFF/gfids-icf.s =================================================================== --- test/COFF/gfids-icf.s +++ test/COFF/gfids-icf.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple x86_64-windows-msvc %s -filetype=obj -o %t.obj # RUN: lld-link %t.obj -guard:nolongjmp -out:%t.exe -opt:icf -entry:main # RUN: llvm-readobj -file-headers -coff-load-config %t.exe | FileCheck %s --check-prefix=CHECK Index: test/COFF/guard-longjmp.s =================================================================== --- test/COFF/guard-longjmp.s +++ test/COFF/guard-longjmp.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple x86_64-windows-msvc %s -filetype=obj -o %t.obj # RUN: lld-link %t.obj -guard:cf -out:%t.exe -entry:main # RUN: llvm-readobj -file-headers -coff-load-config %t.exe | FileCheck %s Index: test/COFF/guardcf-lto.ll =================================================================== --- test/COFF/guardcf-lto.ll +++ test/COFF/guardcf-lto.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; Set up an import library for a DLL that will do the indirect call. ; RUN: echo -e 'LIBRARY library\nEXPORTS\n do_indirect_call\n' > %t.def ; RUN: lld-link -lib -def:%t.def -out:%t.lib -machine:x64 Index: test/COFF/icf-executable.s =================================================================== --- test/COFF/icf-executable.s +++ test/COFF/icf-executable.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple=x86_64-windows-msvc %s -filetype=obj -o %t.obj # RUN: lld-link -entry:main %t.obj -out:%t.exe -verbose 2>&1 | FileCheck %s Index: test/COFF/icf-pdata.s =================================================================== --- test/COFF/icf-pdata.s +++ test/COFF/icf-pdata.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc %s -triple x86_64-windows-msvc -filetype=obj -o %t.obj # RUN: lld-link %t.obj -dll -noentry -out:%t.dll -merge:.xdata=.xdata # RUN: llvm-readobj -sections -coff-exports %t.dll | FileCheck %s Index: test/COFF/icf-xdata.s =================================================================== --- test/COFF/icf-xdata.s +++ test/COFF/icf-xdata.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc %s -triple x86_64-windows-msvc -filetype=obj -o %t.obj # RUN: lld-link %t.obj -dll -noentry -out:%t.dll -merge:.xdata=.xdata 2>&1 \ # RUN: | FileCheck %s --check-prefix=WARN Index: test/COFF/implib-name.test =================================================================== --- test/COFF/implib-name.test +++ test/COFF/implib-name.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: mkdir -p %T # RUN: llvm-mc -triple x86_64-unknown-windows-msvc -filetype obj -o %T/object.obj %S/Inputs/object.s Index: test/COFF/loadcfg.ll =================================================================== --- test/COFF/loadcfg.ll +++ test/COFF/loadcfg.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: llvm-as -o %t.obj %s ; RUN: lld-link /out:%t.exe %t.obj /entry:main /subsystem:console ; RUN: llvm-readobj -file-headers %t.exe | FileCheck %s Index: test/COFF/lto-chkstk.ll =================================================================== --- test/COFF/lto-chkstk.ll +++ test/COFF/lto-chkstk.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: llvm-as -o %t.obj %s ; RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/lto-chkstk-foo.obj %S/Inputs/lto-chkstk-foo.s ; RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/lto-chkstk-chkstk.obj %S/Inputs/lto-chkstk-chkstk.s Index: test/COFF/lto-comdat.ll =================================================================== --- test/COFF/lto-comdat.ll +++ test/COFF/lto-comdat.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: llvm-as -o %T/comdat-main.lto.obj %s ; RUN: llvm-as -o %T/comdat1.lto.obj %S/Inputs/lto-comdat1.ll ; RUN: llvm-as -o %T/comdat2.lto.obj %S/Inputs/lto-comdat2.ll Index: test/COFF/lto-icf.ll =================================================================== --- test/COFF/lto-icf.ll +++ test/COFF/lto-icf.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; Test that ICF works after LTO, i.e. both functions have the same address. ; Previously, when we didn't enable function sections, ICF didn't work. Index: test/COFF/lto-lazy-reference.ll =================================================================== --- test/COFF/lto-lazy-reference.ll +++ test/COFF/lto-lazy-reference.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: llc -mtriple=i686-pc-windows-msvc -filetype=obj -o %T/lto-lazy-reference-quadruple.obj %S/Inputs/lto-lazy-reference-quadruple.ll ; RUN: llvm-as -o %T/lto-lazy-reference-dummy.bc %S/Inputs/lto-lazy-reference-dummy.ll ; RUN: rm -f %t.lib Index: test/COFF/lto-linker-opts.ll =================================================================== --- test/COFF/lto-linker-opts.ll +++ test/COFF/lto-linker-opts.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: llvm-as -o %T/lto-linker-opts.obj %s ; RUN: env LIB=%S/Inputs lld-link /out:%T/lto-linker-opts.exe /entry:main /subsystem:console %T/lto-linker-opts.obj Index: test/COFF/lto-new-symbol.ll =================================================================== --- test/COFF/lto-new-symbol.ll +++ test/COFF/lto-new-symbol.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: llvm-as -o %t.obj %s ; RUN: lld-link /out:%t.exe /entry:foo /subsystem:console %t.obj Index: test/COFF/lto-opt-level.ll =================================================================== --- test/COFF/lto-opt-level.ll +++ test/COFF/lto-opt-level.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: llvm-as -o %t.obj %s ; RUN: lld-link /out:%t0.exe /entry:main /subsystem:console /opt:lldlto=0 /lldmap:%t0.map %t.obj ; RUN: FileCheck --check-prefix=CHECK-O0 %s < %t0.map Index: test/COFF/lto-parallel.ll =================================================================== --- test/COFF/lto-parallel.ll +++ test/COFF/lto-parallel.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: llvm-as -o %t.obj %s ; RUN: lld-link -opt:noicf /out:%t.exe /entry:foo /include:bar /opt:lldltopartitions=2 /subsystem:console /lldmap:%t.map %t.obj ; RUN: FileCheck %s < %t.map Index: test/COFF/lto-reloc-model.ll =================================================================== --- test/COFF/lto-reloc-model.ll +++ test/COFF/lto-reloc-model.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: llvm-as -o %t %s ; RUN: lld-link /entry:main /subsystem:console /out:%t.exe %t ; RUN: llvm-objdump -d %t.exe | FileCheck %s Index: test/COFF/lto.ll =================================================================== --- test/COFF/lto.ll +++ test/COFF/lto.ll @@ -1,3 +1,4 @@ +; REQUIRES: x86 ; RUN: llvm-as -o %T/main.lto.obj %s ; RUN: llvm-as -o %T/foo.lto.obj %S/Inputs/lto-dep.ll ; RUN: rm -f %T/foo.lto.lib Index: test/COFF/pdb-global-gc.yaml =================================================================== --- test/COFF/pdb-global-gc.yaml +++ test/COFF/pdb-global-gc.yaml @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: yaml2obj %s -o %t.obj # RUN: llvm-mc %S/Inputs/pdb-global-gc.s -triple x86_64-windows-msvc -filetype=obj -o %t2.obj # RUN: lld-link %t.obj %t2.obj -debug -entry:main \ Index: test/COFF/reloc-discarded-dwarf.s =================================================================== --- test/COFF/reloc-discarded-dwarf.s +++ test/COFF/reloc-discarded-dwarf.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t1.obj %s # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t2.obj %s Index: test/COFF/reloc-discarded-early.s =================================================================== --- test/COFF/reloc-discarded-early.s +++ test/COFF/reloc-discarded-early.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s # RUN: lld-link -entry:__ImageBase -subsystem:console -debug %t.obj Index: test/COFF/reloc-discarded-early2.s =================================================================== --- test/COFF/reloc-discarded-early2.s +++ test/COFF/reloc-discarded-early2.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s # RUN: not lld-link -entry:__ImageBase -subsystem:console %t.obj 2>&1 | FileCheck %s Index: test/COFF/reloc-discarded.s =================================================================== --- test/COFF/reloc-discarded.s +++ test/COFF/reloc-discarded.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: echo -e '.section .bss,"bw",discard,main_global\n.global main_global\n main_global:\n .long 0' | \ # RUN: llvm-mc - -filetype=obj -o %t1.obj -triple x86_64-windows-msvc # RUN: llvm-mc %s -filetype=obj -o %t2.obj -triple x86_64-windows-msvc Index: test/COFF/reloc-x64.test =================================================================== --- test/COFF/reloc-x64.test +++ test/COFF/reloc-x64.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: yaml2obj < %s > %t.obj # RUN: lld-link /out:%t.exe /entry:main %t.obj # RUN: llvm-objdump -d %t.exe | FileCheck %s Index: test/COFF/reloc-x86.test =================================================================== --- test/COFF/reloc-x86.test +++ test/COFF/reloc-x86.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: yaml2obj < %s > %t.obj # RUN: lld-link /out:%t.exe /entry:main /base:0x400000 %t.obj # RUN: llvm-objdump -d %t.exe | FileCheck %s Index: test/COFF/safeseh-md.s =================================================================== --- test/COFF/safeseh-md.s +++ test/COFF/safeseh-md.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple i686-windows-msvc %s -filetype=obj -o %t.obj # RUN: lld-link %t.obj %S/Inputs/except_handler3.lib -safeseh -out:%t.exe -opt:noref -entry:main # RUN: llvm-readobj -coff-load-config %t.exe | FileCheck %s Index: test/COFF/safeseh-notable.s =================================================================== --- test/COFF/safeseh-notable.s +++ test/COFF/safeseh-notable.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple i686-windows-msvc %s -filetype=obj -o %t.obj # RUN: lld-link %t.obj -safeseh -out:%t.exe -entry:main # RUN: llvm-readobj -file-headers %t.exe | FileCheck %s Index: test/COFF/safeseh.s =================================================================== --- test/COFF/safeseh.s +++ test/COFF/safeseh.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple i686-windows-msvc %s -filetype=obj -o %t.obj # RUN: lld-link %t.obj -safeseh -out:%t.exe -opt:noref -entry:main # RUN: llvm-readobj -coff-basereloc -coff-load-config -file-headers %t.exe | FileCheck %s --check-prefix=CHECK-NOGC Index: test/COFF/secidx-absolute.s =================================================================== --- test/COFF/secidx-absolute.s +++ test/COFF/secidx-absolute.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj # RUN: lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe # RUN: llvm-readobj %t.exe -sections -section-data | FileCheck %s Index: test/COFF/secrel-absolute.s =================================================================== --- test/COFF/secrel-absolute.s +++ test/COFF/secrel-absolute.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj # RUN: not lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe 2>&1 | FileCheck %s Index: test/COFF/secrel-common.s =================================================================== --- test/COFF/secrel-common.s +++ test/COFF/secrel-common.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj # RUN: lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe # RUN: llvm-readobj %t.exe -sections -section-data | FileCheck %s Index: test/COFF/undefined-symbol-cv.s =================================================================== --- test/COFF/undefined-symbol-cv.s +++ test/COFF/undefined-symbol-cv.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s # RUN: not lld-link /out:%t.exe %t.obj 2>&1 | FileCheck %s Index: test/COFF/undefined-symbol.s =================================================================== --- test/COFF/undefined-symbol.s +++ test/COFF/undefined-symbol.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -triple=x86_64-windows-msvc -filetype=obj -o %t.obj %s # RUN: not lld-link /out:%t.exe %t.obj 2>&1 | FileCheck %s Index: test/COFF/weak-external.test =================================================================== --- test/COFF/weak-external.test +++ test/COFF/weak-external.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: yaml2obj %s > %t.obj # RUN: llvm-as -o %t.lto.obj %S/Inputs/weak-external.ll # RUN: lld-link /out:%t1.exe /entry:g /subsystem:console %t.obj Index: test/COFF/weak-external2.test =================================================================== --- test/COFF/weak-external2.test +++ test/COFF/weak-external2.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: yaml2obj %s > %t.obj # RUN: llvm-as -o %t.lto.obj %S/Inputs/weak-external2.ll # RUN: lld-link /out:%t.exe /entry:g /subsystem:console %t.obj %t.lto.obj Index: test/COFF/weak-external3.test =================================================================== --- test/COFF/weak-external3.test +++ test/COFF/weak-external3.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: yaml2obj %s > %t.obj # RUN: llvm-as -o %t.lto.obj %S/Inputs/weak-external3.ll # RUN: lld-link /out:%t1.exe /entry:f /subsystem:console /lldmap:%t1.map %t.lto.obj Index: test/COFF/wholearchive.s =================================================================== --- test/COFF/wholearchive.s +++ test/COFF/wholearchive.s @@ -1,4 +1,4 @@ -# REQEUIRES: x86 +# REQUIRES: x86 # RUN: yaml2obj < %p/Inputs/export.yaml > %t.archive.obj # RUN: llvm-ar rcs %t.archive.lib %t.archive.obj Index: test/ELF/bsymbolic-undef.s =================================================================== --- test/ELF/bsymbolic-undef.s +++ test/ELF/bsymbolic-undef.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: ld.lld -shared -Bsymbolic %t.o -o %t.so # RUN: llvm-readobj -dyn-symbols %t.so | FileCheck %s Index: test/ELF/bsymbolic.s =================================================================== --- test/ELF/bsymbolic.s +++ test/ELF/bsymbolic.s @@ -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 %t0.so // RUN: ld.lld -shared -Bsymbolic %t.o -o %t1.so Index: test/ELF/comdat-linkonce.s =================================================================== --- test/ELF/comdat-linkonce.s +++ test/ELF/comdat-linkonce.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/comdat.s -o %t2.o // RUN: ld.lld -shared %t.o %t2.o -o %t Index: test/ELF/compatible-section-types.s =================================================================== --- test/ELF/compatible-section-types.s +++ test/ELF/compatible-section-types.s @@ -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-objdump -section-headers %t | FileCheck %s Index: test/ELF/conflict-debug-variable.s =================================================================== --- test/ELF/conflict-debug-variable.s +++ test/ELF/conflict-debug-variable.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: llvm-dwarfdump %t.o | FileCheck -check-prefix=INPUT %s # RUN: not ld.lld %t.o %t.o -o %t 2>&1 | FileCheck %s Index: test/ELF/conflict-debug-variable2.s =================================================================== --- test/ELF/conflict-debug-variable2.s +++ test/ELF/conflict-debug-variable2.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: llvm-dwarfdump -v %t.o | FileCheck -check-prefix=INPUT %s Index: test/ELF/conflict-variable-linkage-name.s =================================================================== --- test/ELF/conflict-variable-linkage-name.s +++ test/ELF/conflict-variable-linkage-name.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: llvm-dwarfdump %t.o | FileCheck -check-prefix=INPUT %s # RUN: not ld.lld %t.o %t.o -o %t 2>&1 | FileCheck %s Index: test/ELF/copy-rel-corrupted.s =================================================================== --- test/ELF/copy-rel-corrupted.s +++ test/ELF/copy-rel-corrupted.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: llvm-mc %p/Inputs/copy-rel-corrupted.s -o %t2.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld %t2.o -o %t2.so -shared Index: test/ELF/copy-rel-pie-error.s =================================================================== --- test/ELF/copy-rel-pie-error.s +++ test/ELF/copy-rel-pie-error.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: llvm-mc %p/Inputs/copy-rel-pie.s -o %t2.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld %t2.o -o %t2.so -shared Index: test/ELF/copy-rel-pie.s =================================================================== --- test/ELF/copy-rel-pie.s +++ test/ELF/copy-rel-pie.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: llvm-mc %p/Inputs/copy-rel-pie.s -o %t2.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld %t2.o -o %t2.so -shared Index: test/ELF/defined-tls_get_addr.s =================================================================== --- test/ELF/defined-tls_get_addr.s +++ test/ELF/defined-tls_get_addr.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -triple x86_64-pc-linux -filetype=obj // RUN: ld.lld %t.o -o %t Index: test/ELF/dont-export-hidden.s =================================================================== --- test/ELF/dont-export-hidden.s +++ test/ELF/dont-export-hidden.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %p/Inputs/shared.s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: llvm-mc %s -o %t2.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld %t.o -o %t.so -shared Index: test/ELF/duplicated-synthetic-sym.s =================================================================== --- test/ELF/duplicated-synthetic-sym.s +++ test/ELF/duplicated-synthetic-sym.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o // RUN: rm -rf %t.dir // RUN: mkdir %t.dir Index: test/ELF/dynamic-reloc-index.s =================================================================== --- test/ELF/dynamic-reloc-index.s +++ test/ELF/dynamic-reloc-index.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/shared.s -o %t2.o // RUN: ld.lld -shared %t2.o -o %t2.so Index: test/ELF/eh-frame-marker.s =================================================================== --- test/ELF/eh-frame-marker.s +++ test/ELF/eh-frame-marker.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld --eh-frame-hdr %t.o -o %t.so -shared // RUN: llvm-readobj -t -s %t.so | FileCheck %s Index: test/ELF/eh-frame-multilpe-cie.s =================================================================== --- test/ELF/eh-frame-multilpe-cie.s +++ test/ELF/eh-frame-multilpe-cie.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld --eh-frame-hdr %t.o -o %t.so -shared // We would fail to parse multiple cies in the same file. Index: test/ELF/empty-archive.s =================================================================== --- test/ELF/empty-archive.s +++ test/ELF/empty-archive.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-ar rc %t.a // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o // RUN: ld.lld -shared %t.o %t.a -o %t Index: test/ELF/entry.s =================================================================== --- test/ELF/entry.s +++ test/ELF/entry.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1 # RUN: ld.lld -e foobar %t1 -o %t2 2>&1 | FileCheck -check-prefix=WARN1 %s Index: test/ELF/filter.s =================================================================== --- test/ELF/filter.s +++ test/ELF/filter.s @@ -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 foo.so -F boo.so -o %t1 # RUN: llvm-readobj --dynamic-table %t1 | FileCheck %s Index: test/ELF/gc-debuginfo-tls.s =================================================================== --- test/ELF/gc-debuginfo-tls.s +++ test/ELF/gc-debuginfo-tls.s @@ -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 --gc-sections -shared -o %t1 # RUN: ld.lld %t.o -shared -o %t2 Index: test/ELF/gc-merge-local-sym.s =================================================================== --- test/ELF/gc-merge-local-sym.s +++ test/ELF/gc-merge-local-sym.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld %t.o -o %t.so -shared -O3 --gc-sections // RUN: llvm-readobj -s -section-data -t %t.so | FileCheck %s Index: test/ELF/gc-sections-merge-addend.s =================================================================== --- test/ELF/gc-sections-merge-addend.s +++ test/ELF/gc-sections-merge-addend.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld %t.o -o %t.so -shared --gc-sections // RUN: llvm-readobj -s -section-data %t.so | FileCheck %s Index: test/ELF/gc-sections-merge-implicit-addend.s =================================================================== --- test/ELF/gc-sections-merge-implicit-addend.s +++ test/ELF/gc-sections-merge-implicit-addend.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=i386-pc-linux // RUN: ld.lld %t.o -o %t.so -shared --gc-sections // RUN: llvm-readobj -s -section-data %t.so | FileCheck %s Index: test/ELF/gc-sections-merge.s =================================================================== --- test/ELF/gc-sections-merge.s +++ test/ELF/gc-sections-merge.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld %t.o -o %t.so -shared // RUN: ld.lld %t.o -o %t.gc.so -shared --gc-sections Index: test/ELF/gc-sections-protected.s =================================================================== --- test/ELF/gc-sections-protected.s +++ test/ELF/gc-sections-protected.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld %t.o -o %t.so -shared --gc-sections // RUN: llvm-readobj -s %t.so | FileCheck %s Index: test/ELF/global_offset_table.s =================================================================== --- test/ELF/global_offset_table.s +++ test/ELF/global_offset_table.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t // RUN: ld.lld %t -o %t2 .global _start Index: test/ELF/global_offset_table_shared.s =================================================================== --- test/ELF/global_offset_table_shared.s +++ test/ELF/global_offset_table_shared.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t // RUN: ld.lld --hash-style=sysv -shared %t -o %t2 // RUN: llvm-readobj -t %t2 | FileCheck %s Index: test/ELF/got-plt-header.s =================================================================== --- test/ELF/got-plt-header.s +++ test/ELF/got-plt-header.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux // RUN: ld.lld %t.o -o %t.so -shared // RUN: llvm-readobj -s -section-data %t.so | FileCheck %s Index: test/ELF/gotpcrelx.s =================================================================== --- test/ELF/gotpcrelx.s +++ test/ELF/gotpcrelx.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -relax-relocations -triple x86_64-pc-linux-gnu \ // RUN: %s -o %t.o // RUN: llvm-readobj -r %t.o | FileCheck --check-prefix=RELS %s Index: test/ELF/i386-got-value.s =================================================================== --- test/ELF/i386-got-value.s +++ test/ELF/i386-got-value.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc %s -o %t.o -filetype=obj -triple=i386-pc-linux # RUN: ld.lld %t.o -o %t.so -shared # RUN: llvm-readobj --relocations --sections --section-data %t.so | FileCheck %s Index: test/ELF/i386-tls-ie-shared.s =================================================================== --- test/ELF/i386-tls-ie-shared.s +++ test/ELF/i386-tls-ie-shared.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o // RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %p/Inputs/tls-opt-iele-i686-nopic.s -o %tso.o // RUN: ld.lld -shared %tso.o -o %tso Index: test/ELF/incompatible-section-flags.s =================================================================== --- test/ELF/incompatible-section-flags.s +++ test/ELF/incompatible-section-flags.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o // RUN: not ld.lld -shared %t.o -o %t 2>&1 | FileCheck %s Index: test/ELF/incompatible-section-types2.s =================================================================== --- test/ELF/incompatible-section-types2.s +++ test/ELF/incompatible-section-types2.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o // RUN: not ld.lld %t.o -o %t 2>&1 | FileCheck %s Index: test/ELF/invalid/invalid-elf.test =================================================================== --- test/ELF/invalid/invalid-elf.test +++ test/ELF/invalid/invalid-elf.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc %s -o %t -filetype=obj -triple x86_64-pc-linux # RUN: not ld.lld %t %p/Inputs/data-encoding.a -o %t2 2>&1 | \ Index: test/ELF/linkerscript/discard-interp.test =================================================================== --- test/ELF/linkerscript/discard-interp.test +++ test/ELF/linkerscript/discard-interp.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux /dev/null -o %t.o # RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %p/../Inputs/shared.s -o %t2.o # RUN: ld.lld -shared %t2.o -o %t2.so Index: test/ELF/linkerscript/openbsd-bootdata.test =================================================================== --- test/ELF/linkerscript/openbsd-bootdata.test +++ test/ELF/linkerscript/openbsd-bootdata.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux /dev/null -o %t.o # RUN: ld.lld --script %s %t.o -o %t # RUN: llvm-readobj --program-headers -s %t | FileCheck %s Index: test/ELF/linkerscript/openbsd-randomize.s =================================================================== --- test/ELF/linkerscript/openbsd-randomize.s +++ test/ELF/linkerscript/openbsd-randomize.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %s -o %t.o # RUN: echo "PHDRS { text PT_LOAD FILEHDR PHDRS; rand PT_OPENBSD_RANDOMIZE; } \ # RUN: SECTIONS { . = SIZEOF_HEADERS; \ Index: test/ELF/linkerscript/openbsd-wxneeded.test =================================================================== --- test/ELF/linkerscript/openbsd-wxneeded.test +++ test/ELF/linkerscript/openbsd-wxneeded.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux /dev/null -o %t.o # RUN: ld.lld -z wxneeded --script %s %t.o -o %t # RUN: llvm-readobj --program-headers %t | FileCheck %s Index: test/ELF/local-got-pie.s =================================================================== --- test/ELF/local-got-pie.s +++ test/ELF/local-got-pie.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o // RUN: ld.lld --hash-style=sysv %t.o -o %t -pie // RUN: llvm-readobj -s -r -d %t | FileCheck %s Index: test/ELF/local-got-shared.s =================================================================== --- test/ELF/local-got-shared.s +++ test/ELF/local-got-shared.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o // RUN: ld.lld --hash-style=sysv %t.o -o %t -shared // RUN: llvm-readobj -s -r -d %t | FileCheck %s Index: test/ELF/local-got.s =================================================================== --- test/ELF/local-got.s +++ test/ELF/local-got.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/shared.s -o %t2.o // RUN: ld.lld -shared %t2.o -o %t2.so Index: test/ELF/map-gc-sections.s =================================================================== --- test/ELF/map-gc-sections.s +++ test/ELF/map-gc-sections.s @@ -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 -o %t -Map=- --gc-sections | FileCheck %s Index: test/ELF/pr34872.s =================================================================== --- test/ELF/pr34872.s +++ test/ELF/pr34872.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux -o %t.o # RUN: llvm-mc %p/Inputs/undefined-error.s -filetype=obj \ # RUN: -triple=x86_64-pc-linux -o %t2.o Index: test/ELF/pr36475.s =================================================================== --- test/ELF/pr36475.s +++ test/ELF/pr36475.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o # RUN: echo "PHDRS {" > %t.script # RUN: echo " ph_text PT_LOAD FLAGS (0x1 | 0x4);" >> %t.script Index: test/ELF/relocation-size-shared.s =================================================================== --- test/ELF/relocation-size-shared.s +++ test/ELF/relocation-size-shared.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/relocation-size-shared.s -o %tso.o // RUN: ld.lld -shared %tso.o -o %tso Index: test/ELF/relocation-size.s =================================================================== --- test/ELF/relocation-size.s +++ test/ELF/relocation-size.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o // RUN: ld.lld %t.o -o %t1 // RUN: llvm-readobj -r %t1 | FileCheck --check-prefix=NORELOC %s Index: test/ELF/relro-omagic.s =================================================================== --- test/ELF/relro-omagic.s +++ test/ELF/relro-omagic.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/shared.s -o %t2.o # RUN: ld.lld -shared %t2.o -o %t2.so -soname relro-omagic.s.tmp2.so Index: test/ELF/rodynamic.s =================================================================== --- test/ELF/rodynamic.s +++ test/ELF/rodynamic.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux # RUN: llvm-mc %p/Inputs/rodynamic.s -o %t.so.o -filetype=obj -triple=x86_64-pc-linux Index: test/ELF/section-symbol.s =================================================================== --- test/ELF/section-symbol.s +++ test/ELF/section-symbol.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t // RUN: ld.lld %t -o %t.so -shared -discard-none // RUN: llvm-readobj -t %t.so | FileCheck %s Index: test/ELF/shared-lazy.s =================================================================== --- test/ELF/shared-lazy.s +++ test/ELF/shared-lazy.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o // RUN: rm -f %t1.a // RUN: llvm-ar rc %t1.a %t1.o Index: test/ELF/sht-group-gold-r.test =================================================================== --- test/ELF/sht-group-gold-r.test +++ test/ELF/sht-group-gold-r.test @@ -1,3 +1,4 @@ +# REQUIRES: x86 # GNU gold 1.14 (the newest version as of July 2017) seems to create # non-standard-compliant SHT_GROUP sections when the -r option is given. # Index: test/ELF/soname.s =================================================================== --- test/ELF/soname.s +++ test/ELF/soname.s @@ -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 -soname=bar -o %t.so // RUN: ld.lld %t.o -shared --soname=bar -o %t2.so Index: test/ELF/soname2.s =================================================================== --- test/ELF/soname2.s +++ test/ELF/soname2.s @@ -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 -soname=foo.so -o %t // RUN: llvm-readobj --dynamic-table %t | FileCheck %s Index: test/ELF/string-gc.s =================================================================== --- test/ELF/string-gc.s +++ test/ELF/string-gc.s @@ -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 -o %t --gc-sections // RUN: llvm-readobj -symbols %t | FileCheck %s Index: test/ELF/symbol-override.s =================================================================== --- test/ELF/symbol-override.s +++ test/ELF/symbol-override.s @@ -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 %p/Inputs/symbol-override.s -o %t2.o // RUN: ld.lld -shared %t2.o -o %t2.so Index: test/ELF/text-section-prefix.s =================================================================== --- test/ELF/text-section-prefix.s +++ test/ELF/text-section-prefix.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t # RUN: ld.lld -z keep-text-section-prefix %t -o %t2 # RUN: llvm-readelf -l %t2 | FileCheck %s Index: test/ELF/tls-got.s =================================================================== --- test/ELF/tls-got.s +++ test/ELF/tls-got.s @@ -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 %p/Inputs/tls-got.s -o %t2.o // RUN: ld.lld -shared %t2.o -o %t2.so Index: test/ELF/tls-opt-gdie.s =================================================================== --- test/ELF/tls-opt-gdie.s +++ test/ELF/tls-opt-gdie.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/tls-opt-gdie.s -o %tso.o // RUN: ld.lld -shared %tso.o -o %t.so Index: test/ELF/tls-opt-gdiele-i686.s =================================================================== --- test/ELF/tls-opt-gdiele-i686.s +++ test/ELF/tls-opt-gdiele-i686.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %p/Inputs/tls-opt-gdiele-i686.s -o %tso.o // RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o // RUN: ld.lld -shared %tso.o -o %tso Index: test/ELF/tls-opt-i686.s =================================================================== --- test/ELF/tls-opt-i686.s +++ test/ELF/tls-opt-i686.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o // RUN: ld.lld %t.o -o %t1 // RUN: llvm-readobj -r %t1 | FileCheck --check-prefix=NORELOC %s Index: test/ELF/tls-opt-iele-i686-nopic.s =================================================================== --- test/ELF/tls-opt-iele-i686-nopic.s +++ test/ELF/tls-opt-iele-i686-nopic.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %s -o %t.o // RUN: llvm-mc -filetype=obj -triple=i686-pc-linux %p/Inputs/tls-opt-iele-i686-nopic.s -o %tso.o // RUN: ld.lld -shared %tso.o -o %tso Index: test/ELF/tls-opt-local.s =================================================================== --- test/ELF/tls-opt-local.s +++ test/ELF/tls-opt-local.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o // RUN: ld.lld %t.o -o %t1 // RUN: llvm-readobj -r %t1 | FileCheck --check-prefix=NORELOC %s Index: test/ELF/tls-opt-no-plt.s =================================================================== --- test/ELF/tls-opt-no-plt.s +++ test/ELF/tls-opt-no-plt.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/tls-opt-gdie.s -o %t2.o // RUN: ld.lld %t2.o -o %t2.so -shared Index: test/ELF/tls-opt.s =================================================================== --- test/ELF/tls-opt.s +++ test/ELF/tls-opt.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o // RUN: ld.lld %t.o -o %t1 // RUN: llvm-readobj -r %t1 | FileCheck --check-prefix=NORELOC %s Index: test/ELF/trace-symbols.s =================================================================== --- test/ELF/trace-symbols.s +++ test/ELF/trace-symbols.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # Test -y symbol and -trace-symbol=symbol # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t Index: test/ELF/undef-shared.s =================================================================== --- test/ELF/undef-shared.s +++ test/ELF/undef-shared.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: not ld.lld %t.o -o %t.so -shared 2>&1 | FileCheck %s Index: test/ELF/undef-shared2.s =================================================================== --- test/ELF/undef-shared2.s +++ test/ELF/undef-shared2.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/undef-shared2.s -o %t2.o # RUN: not ld.lld %t.o %t2.o -o %t.so -shared 2>&1 | FileCheck %s Index: test/ELF/undef-version-script.s =================================================================== --- test/ELF/undef-version-script.s +++ test/ELF/undef-version-script.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o # RUN: echo "{ local: *; };" > %t.script # RUN: ld.lld --version-script %t.script -shared %t.o -o %t.so Index: test/ELF/user_def_init_array_start.s =================================================================== --- test/ELF/user_def_init_array_start.s +++ test/ELF/user_def_init_array_start.s @@ -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 -o %t2.so -shared // Allow user defined __init_array_start. This is used by musl because of the Index: test/ELF/version-script-no-warn2.s =================================================================== --- test/ELF/version-script-no-warn2.s +++ test/ELF/version-script-no-warn2.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/version-script-no-warn2.s -o %t1.o # RUN: ld.lld %t1.o -o %t1.so -shared # RUN: echo "{ global: foo; local: *; };" > %t.script Index: test/ELF/x86-64-reloc-range.s =================================================================== --- test/ELF/x86-64-reloc-range.s +++ test/ELF/x86-64-reloc-range.s @@ -1,3 +1,4 @@ +// REQUIRES: x86 // RUN: llvm-mc %s -o %t.o -triple x86_64-pc-linux -filetype=obj // RUN: not ld.lld %t.o -o %t.so -shared 2>&1 | FileCheck %s Index: test/ELF/zdefs.s =================================================================== --- test/ELF/zdefs.s +++ test/ELF/zdefs.s @@ -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 %t1.so