[llvm] r207346 - COFF: move ARM COFF test to ARM directory
Saleem Abdulrasool
compnerd at compnerd.org
Sat Apr 26 21:29:33 PDT 2014
Author: compnerd
Date: Sat Apr 26 23:29:32 2014
New Revision: 207346
URL: http://llvm.org/viewvc/llvm-project?rev=207346&view=rev
Log:
COFF: move ARM COFF test to ARM directory
The COFF tests all assume X86. Just move the new COFF tests under ARM to
appease the build bots.
Added:
llvm/trunk/test/MC/ARM/coff-relocations.s
- copied, changed from r207345, llvm/trunk/test/MC/COFF/arm-relocations.s
Removed:
llvm/trunk/test/MC/COFF/arm-relocations.s
Copied: llvm/trunk/test/MC/ARM/coff-relocations.s (from r207345, llvm/trunk/test/MC/COFF/arm-relocations.s)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/coff-relocations.s?p2=llvm/trunk/test/MC/ARM/coff-relocations.s&p1=llvm/trunk/test/MC/COFF/arm-relocations.s&r1=207345&r2=207346&rev=207346&view=diff
==============================================================================
(empty)
Removed: llvm/trunk/test/MC/COFF/arm-relocations.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/arm-relocations.s?rev=207345&view=auto
==============================================================================
--- llvm/trunk/test/MC/COFF/arm-relocations.s (original)
+++ llvm/trunk/test/MC/COFF/arm-relocations.s (removed)
@@ -1,101 +0,0 @@
-@ RUN: llvm-mc -triple thumbv7-windows-itanium -filetype obj -o - %s \
-@ RUN: | llvm-readobj -r - | FileCheck %s -check-prefix CHECK-RELOCATION
-
-@ RUN: llvm-mc -triple thumbv7-windows-itanium -filetype obj -o - %s \
-@ RUN: | llvm-objdump -d - | FileCheck %s -check-prefix CHECK-ENCODING
-
- .syntax unified
- .text
- .thumb
-
- .global target
-
- .thumb_func
-branch24t:
- b target
-
-@ CHECK-ENCODING-LABEL: branch24t
-@ CHECK-ENCODING-NEXT: b.w #0
-
- .thumb_func
-branch20t:
- bcc target
-
-@ CHECK-ENCODING-LABEL: branch20t
-@ CHECK-ENCODING-NEXT: blo.w #0
-
- .thumb_func
-blx23t:
- bl target
-
-@ CHECK-ENCODING-LABEL: blx23t
-@ CHECK-ENCODING-NEXT: bl #0
-
- .thumb_func
-mov32t:
- movw r0, :lower16:target
- movt r0, :upper16:target
- blx r0
-
-@ CHECK-ENCODING-LABEL: mov32t
-@ CHECK-ENCODING-NEXT: movw r0, #0
-@ CHECK-ENCODING-NEXT: movt r0, #0
-@ CHECK-ENCODING-NEXT: blx r0
-
- .thumb_func
-addr32:
- ldr r0, .Laddr32
- bx r0
- trap
-.Laddr32:
- .long target
-
-@ CHECK-ENCODING-LABEL: addr32
-@ CHECK-ENCODING-NEXT: ldr r0, [pc, #4]
-@ CHECK-ENCODING-NEXT: bx r0
-@ CHECK-ENCODING-NEXT: trap
-@ CHECK-ENCODING-NEXT: movs r0, r0
-@ CHECK-ENCODING-NEXT: movs r0, r0
-
- .thumb_func
-addr32nb:
- ldr r0, .Laddr32nb
- bx r0
- trap
-.Laddr32nb:
- .long target(imgrel)
-
-@ CHECK-ENCODING-LABEL: addr32nb
-@ CHECK-ENCODING-NEXT: ldr.w r0, [pc, #4]
-@ CHECK-ENCODING-NEXT: bx r0
-@ CHECK-ENCODING-NEXT: trap
-@ CHECK-ENCODING-NEXT: movs r0, r0
-@ CHECK-ENCODING-NEXT: movs r0, r0
-
- .thumb_func
-secrel:
- ldr r0, .Lsecrel
- bx r0
- trap
-.Lsecrel:
- .long target(secrel32)
-
-@ CHECK-ENCODING-LABEL: secrel
-@ CHECK-ENCODING-NEXT: ldr.w r0, [pc, #4]
-@ CHECK-ENCODING-NEXT: bx r0
-@ CHECK-ENCODING-NEXT: trap
-@ CHECK-ENCODING-NEXT: movs r0, r0
-@ CHECK-ENCODING-NEXT: movs r0, r0
-
-@ CHECK-RELOCATION: Relocations [
-@ CHECK-RELOCATION: Section (1) .text {
-@ CHCEK-RELOCATION: 0x0 IMAGE_REL_ARM_BRANCH24T
-@ CHECK-RELOCATION: 0x4 IMAGE_REL_ARM_BRANCH20T
-@ CHECK-RELOCATION: 0x8 IMAGE_REL_ARM_BLX23T
-@ CHECK-RELOCATION: 0xC IMAGE_REL_ARM_MOV32T
-@ CHECK-RELOCATION: 0x1C IMAGE_REL_ARM_ADDR32
-@ CHECK-RELOCATION: 0x28 IMAGE_REL_ARM_ADDR32NB
-@ CHECK-RELOCATION: 0x34 IMAGE_REL_ARM_SECREL
-@ CHECK-RELOCATION: }
-@ CHECK-RELOCATION: ]
-
More information about the llvm-commits
mailing list