mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
[ARM] Check that the thumb COFF segment flag gets set on thumb windows
Patch by Martin Storsjö. llvm-svn: 276877
This commit is contained in:
parent
fdc59ed6fb
commit
7e7be050ac
16
test/MC/ARM/Windows/thumb-attributes.s
Normal file
16
test/MC/ARM/Windows/thumb-attributes.s
Normal file
@ -0,0 +1,16 @@
|
||||
@ RUN: llvm-mc -triple thumbv7-windows-itanium -filetype obj -o - %s \
|
||||
@ RUN: | llvm-readobj -s - | FileCheck %s
|
||||
|
||||
.syntax unified
|
||||
.thumb
|
||||
|
||||
.text
|
||||
|
||||
.global function
|
||||
.thumb_func
|
||||
function:
|
||||
bx lr
|
||||
|
||||
@ CHECK: Section
|
||||
@ CHECK-DAG: IMAGE_SCN_CNT_CODE
|
||||
@ CHECK-DAG: IMAGE_SCN_MEM_16BIT
|
Loading…
Reference in New Issue
Block a user