<p dir="ltr">Thanks!</p>
<div class="gmail_quote">On Sep 28, 2015 5:24 AM, "Rafael Espindola via llvm-commits" <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: rafael<br>
Date: Mon Sep 28 07:22:25 2015<br>
New Revision: 248707<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=248707&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=248707&view=rev</a><br>
Log:<br>
Enable the aarch64 tests.<br>
<br>
Modified:<br>
lld/trunk/test/elf2/aarch64-relocs.s<br>
lld/trunk/test/elf2/basic-aarch64.s<br>
lld/trunk/test/lit.cfg<br>
<br>
Modified: lld/trunk/test/elf2/aarch64-relocs.s<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/aarch64-relocs.s?rev=248707&r1=248706&r2=248707&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/aarch64-relocs.s?rev=248707&r1=248706&r2=248707&view=diff</a><br>
==============================================================================<br>
--- lld/trunk/test/elf2/aarch64-relocs.s (original)<br>
+++ lld/trunk/test/elf2/aarch64-relocs.s Mon Sep 28 07:22:25 2015<br>
@@ -1,7 +1,7 @@<br>
# RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %s -o %t<br>
# RUN: lld -flavor gnu2 %t -o %t2<br>
# RUN: llvm-objdump -d %t2 | FileCheck %s<br>
-# REQUIRES: arm64<br>
+# REQUIRES: aarch64<br>
<br>
.globl _start<br>
_start:<br>
<br>
Modified: lld/trunk/test/elf2/basic-aarch64.s<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/basic-aarch64.s?rev=248707&r1=248706&r2=248707&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/basic-aarch64.s?rev=248707&r1=248706&r2=248707&view=diff</a><br>
==============================================================================<br>
--- lld/trunk/test/elf2/basic-aarch64.s (original)<br>
+++ lld/trunk/test/elf2/basic-aarch64.s Mon Sep 28 07:22:25 2015<br>
@@ -2,7 +2,7 @@<br>
# RUN: lld -flavor gnu2 %t -o %t2<br>
# RUN: llvm-readobj -file-headers -sections -program-headers -symbols %t2 \<br>
# RUN: | FileCheck %s<br>
-# REQUIRES: arm64<br>
+# REQUIRES: aarch64<br>
<br>
# exits with return code 42 on FreeBSD/AArch64<br>
.globl _start;<br>
<br>
Modified: lld/trunk/test/lit.cfg<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=248707&r1=248706&r2=248707&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=248707&r1=248706&r2=248707&view=diff</a><br>
==============================================================================<br>
--- lld/trunk/test/lit.cfg (original)<br>
+++ lld/trunk/test/lit.cfg Mon Sep 28 07:22:25 2015<br>
@@ -175,13 +175,17 @@ if re.search(r'DEBUG', llvm_config_outpu<br>
config.available_features.add('debug')<br>
if re.search(r'ON', llvm_config_output_list[1]):<br>
config.available_features.add('asserts')<br>
-if re.search(r'ARM', llvm_config_output_list[2]):<br>
+<br>
+archs = llvm_config_output_list[2]<br>
+if re.search(r'AArch64', archs):<br>
+ config.available_features.add('aarch64')<br>
+if re.search(r'ARM', archs):<br>
config.available_features.add('arm')<br>
-if re.search(r'Mips', llvm_config_output_list[2]):<br>
+if re.search(r'Mips', archs):<br>
config.available_features.add('mips')<br>
-if re.search(r'X86', llvm_config_output_list[2]):<br>
+if re.search(r'X86', archs):<br>
config.available_features.add('x86')<br>
-if re.search(r'PowerPC', llvm_config_output_list[2]):<br>
+if re.search(r'PowerPC', archs):<br>
config.available_features.add('ppc')<br>
llvm_config_cmd.wait()<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>