[lld] r347388 - [ARM] Change REQUIRES: ARM to Requires: arm

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 21 03:30:03 PST 2018


Author: psmith
Date: Wed Nov 21 03:30:03 2018
New Revision: 347388

URL: http://llvm.org/viewvc/llvm-project?rev=347388&view=rev
Log:
[ARM] Change REQUIRES: ARM to Requires: arm

When REQUIRES: ARM is used the test is skipped as ARM is not recognized.
Change to REQUIRES: arm so that it is run. This required updating one of the
tests due to changes in expected output.

Differential Revision: https://reviews.llvm.org/D54786

Modified:
    lld/trunk/test/ELF/arm-thunk-nosuitable.s
    lld/trunk/test/ELF/arm-thunk-section-too-large.s

Modified: lld/trunk/test/ELF/arm-thunk-nosuitable.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thunk-nosuitable.s?rev=347388&r1=347387&r2=347388&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thunk-nosuitable.s (original)
+++ lld/trunk/test/ELF/arm-thunk-nosuitable.s Wed Nov 21 03:30:03 2018
@@ -1,4 +1,4 @@
-// REQUIRES: ARM
+// REQUIRES: arm
 // RUN: llvm-mc %s --arm-add-build-attributes --triple=armv7a-linux-gnueabihf --filetype=obj -o %t.o
 // RUN: ld.lld %t.o -o %t
 // RUN: llvm-objdump -triple=thumbv7a-linux-gnueabihf -d -start-address=2166784 -stop-address=2166794 %t | FileCheck %s
@@ -23,8 +23,7 @@ _start:
 // CHECK-NEXT:   211000:        00 f0 00 80     beq.w   #0
 // CHECK: __Thumbv7ABSLongThunk_target:
 // CHECK-NEXT:   211004:        00 f0 01 90     b.w     #12582914
-// CHECK: $t.1:
-// CHECK-NEXT:   211008:        70 47   bx      lr
+// CHECK:        211008:        70 47   bx      lr
 
         .section .text.2, "ax", %progbits
         .space 12 * 1024 * 1024

Modified: lld/trunk/test/ELF/arm-thunk-section-too-large.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/arm-thunk-section-too-large.s?rev=347388&r1=347387&r2=347388&view=diff
==============================================================================
--- lld/trunk/test/ELF/arm-thunk-section-too-large.s (original)
+++ lld/trunk/test/ELF/arm-thunk-section-too-large.s Wed Nov 21 03:30:03 2018
@@ -1,4 +1,4 @@
-// REQUIRES: ARM
+// REQUIRES: arm
 // RUN: llvm-mc %s -triple=armv7a-linux-gnueabihf -arm-add-build-attributes -filetype=obj -o %t.o
 // RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
 




More information about the llvm-commits mailing list