llvm.org GIT mirror llvm / a772715
[ARM] Check that the thumb COFF segment flag gets set on thumb windows Patch by Martin Storsjö. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276877 91177308-0d34-0410-b5e6-96231b3b80d8 Renato Golin 4 years ago
1 changed file(s) with 16 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 @ RUN: llvm-mc -triple thumbv7-windows-itanium -filetype obj -o - %s \
1 @ RUN: | llvm-readobj -s - | FileCheck %s
2
3 .syntax unified
4 .thumb
5
6 .text
7
8 .global function
9 .thumb_func
10 function:
11 bx lr
12
13 @ CHECK: Section
14 @ CHECK-DAG: IMAGE_SCN_CNT_CODE
15 @ CHECK-DAG: IMAGE_SCN_MEM_16BIT