[lld] r339253 - Add missing REQUIRES x86 to tests.

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 4 07:06:44 PDT 2018


On 08/08/2018 07:50 AM, Peter Smith via llvm-commits wrote:
> Author: psmith
> Date: Wed Aug  8 07:50:33 2018
> New Revision: 339253
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=339253&view=rev
> Log:
> Add missing REQUIRES x86 to tests.
> 
> Add REQUIRES to tests that fail when an x86 backend is not present.
> 
> Differential Revision: https://reviews.llvm.org/D50440
> 

Hi Hans,

Is this OK to backport to the release_70 branch?  It fixes lit test
failures when the x86 backend is not enabled.

-Tom

> 
> Modified:
>     lld/trunk/test/COFF/guardcf-align.s
>     lld/trunk/test/ELF/icf13.s
>     lld/trunk/test/ELF/icf15.s
>     lld/trunk/test/ELF/icf16.s
>     lld/trunk/test/ELF/icf17.s
>     lld/trunk/test/ELF/lto/libcall-archive.ll
> 
> Modified: lld/trunk/test/COFF/guardcf-align.s
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/guardcf-align.s?rev=339253&r1=339252&r2=339253&view=diff
> ==============================================================================
> --- lld/trunk/test/COFF/guardcf-align.s (original)
> +++ lld/trunk/test/COFF/guardcf-align.s Wed Aug  8 07:50:33 2018
> @@ -1,3 +1,4 @@
> +# REQUIRES: x86
>  # RUN: llvm-mc -triple x86_64-windows-msvc -filetype=obj -o %t.obj %s
>  # RUN: yaml2obj < %p/Inputs/guardcf-align-foobar.yaml \
>  # RUN:     > %T/guardcf-align-foobar.obj
> 
> Modified: lld/trunk/test/ELF/icf13.s
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/icf13.s?rev=339253&r1=339252&r2=339253&view=diff
> ==============================================================================
> --- lld/trunk/test/ELF/icf13.s (original)
> +++ lld/trunk/test/ELF/icf13.s Wed Aug  8 07:50:33 2018
> @@ -1,3 +1,4 @@
> +# REQUIRES: x86
>  # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
>  # RUN: ld.lld -shared -z notext %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
>  
> 
> Modified: lld/trunk/test/ELF/icf15.s
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/icf15.s?rev=339253&r1=339252&r2=339253&view=diff
> ==============================================================================
> --- lld/trunk/test/ELF/icf15.s (original)
> +++ lld/trunk/test/ELF/icf15.s Wed Aug  8 07:50:33 2018
> @@ -1,3 +1,4 @@
> +# REQUIRES: x86
>  # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
>  # RUN: ld.lld %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
>  
> 
> Modified: lld/trunk/test/ELF/icf16.s
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/icf16.s?rev=339253&r1=339252&r2=339253&view=diff
> ==============================================================================
> --- lld/trunk/test/ELF/icf16.s (original)
> +++ lld/trunk/test/ELF/icf16.s Wed Aug  8 07:50:33 2018
> @@ -1,3 +1,4 @@
> +# REQUIRES: x86
>  # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
>  # RUN: ld.lld -shared -z notext %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
>  
> 
> Modified: lld/trunk/test/ELF/icf17.s
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/icf17.s?rev=339253&r1=339252&r2=339253&view=diff
> ==============================================================================
> --- lld/trunk/test/ELF/icf17.s (original)
> +++ lld/trunk/test/ELF/icf17.s Wed Aug  8 07:50:33 2018
> @@ -1,3 +1,4 @@
> +# REQUIRES: x86
>  # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1
>  # RUN: ld.lld %t1 -o /dev/null --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s
>  
> 
> Modified: lld/trunk/test/ELF/lto/libcall-archive.ll
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/libcall-archive.ll?rev=339253&r1=339252&r2=339253&view=diff
> ==============================================================================
> --- lld/trunk/test/ELF/lto/libcall-archive.ll (original)
> +++ lld/trunk/test/ELF/lto/libcall-archive.ll Wed Aug  8 07:50:33 2018
> @@ -1,3 +1,4 @@
> +; REQUIRES: x86
>  ; RUN: rm -f %t.a
>  ; RUN: llvm-as -o %t.o %s
>  ; RUN: llvm-as -o %t2.o %S/Inputs/libcall-archive.ll
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
> 



More information about the llvm-commits mailing list