[lld] r248707 - Enable the aarch64 tests.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 06:44:43 PDT 2015


Thanks!
On Sep 28, 2015 5:24 AM, "Rafael Espindola via llvm-commits" <
llvm-commits at lists.llvm.org> wrote:

> Author: rafael
> Date: Mon Sep 28 07:22:25 2015
> New Revision: 248707
>
> URL: http://llvm.org/viewvc/llvm-project?rev=248707&view=rev
> Log:
> Enable the aarch64 tests.
>
> Modified:
>     lld/trunk/test/elf2/aarch64-relocs.s
>     lld/trunk/test/elf2/basic-aarch64.s
>     lld/trunk/test/lit.cfg
>
> Modified: lld/trunk/test/elf2/aarch64-relocs.s
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/aarch64-relocs.s?rev=248707&r1=248706&r2=248707&view=diff
>
> ==============================================================================
> --- lld/trunk/test/elf2/aarch64-relocs.s (original)
> +++ lld/trunk/test/elf2/aarch64-relocs.s Mon Sep 28 07:22:25 2015
> @@ -1,7 +1,7 @@
>  # RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %s -o %t
>  # RUN: lld -flavor gnu2 %t -o %t2
>  # RUN: llvm-objdump -d %t2 | FileCheck %s
> -# REQUIRES: arm64
> +# REQUIRES: aarch64
>
>  .globl _start
>  _start:
>
> Modified: lld/trunk/test/elf2/basic-aarch64.s
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/basic-aarch64.s?rev=248707&r1=248706&r2=248707&view=diff
>
> ==============================================================================
> --- lld/trunk/test/elf2/basic-aarch64.s (original)
> +++ lld/trunk/test/elf2/basic-aarch64.s Mon Sep 28 07:22:25 2015
> @@ -2,7 +2,7 @@
>  # RUN: lld -flavor gnu2 %t -o %t2
>  # RUN: llvm-readobj -file-headers -sections -program-headers -symbols %t2
> \
>  # RUN:   | FileCheck %s
> -# REQUIRES: arm64
> +# REQUIRES: aarch64
>
>  # exits with return code 42 on FreeBSD/AArch64
>  .globl _start;
>
> Modified: lld/trunk/test/lit.cfg
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=248707&r1=248706&r2=248707&view=diff
>
> ==============================================================================
> --- lld/trunk/test/lit.cfg (original)
> +++ lld/trunk/test/lit.cfg Mon Sep 28 07:22:25 2015
> @@ -175,13 +175,17 @@ if re.search(r'DEBUG', llvm_config_outpu
>      config.available_features.add('debug')
>  if re.search(r'ON', llvm_config_output_list[1]):
>      config.available_features.add('asserts')
> -if re.search(r'ARM', llvm_config_output_list[2]):
> +
> +archs = llvm_config_output_list[2]
> +if re.search(r'AArch64', archs):
> +    config.available_features.add('aarch64')
> +if re.search(r'ARM', archs):
>      config.available_features.add('arm')
> -if re.search(r'Mips', llvm_config_output_list[2]):
> +if re.search(r'Mips', archs):
>      config.available_features.add('mips')
> -if re.search(r'X86', llvm_config_output_list[2]):
> +if re.search(r'X86', archs):
>      config.available_features.add('x86')
> -if re.search(r'PowerPC', llvm_config_output_list[2]):
> +if re.search(r'PowerPC', archs):
>      config.available_features.add('ppc')
>  llvm_config_cmd.wait()
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150928/ff39b652/attachment.html>


More information about the llvm-commits mailing list