Skip to content

Commit

Permalink
[ARM] Change REQUIRES: ARM to Requires: arm
Browse files Browse the repository at this point in the history
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

llvm-svn: 347388
  • Loading branch information
smithp35 committed Nov 21, 2018
1 parent 71e9021 commit 4923930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lld/test/ELF/arm-thunk-nosuitable.s
@@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lld/test/ELF/arm-thunk-section-too-large.s
@@ -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

Expand Down

0 comments on commit 4923930

Please sign in to comment.