Index: test/MC/ARM/Windows/thumb-attributes.s =================================================================== --- /dev/null +++ test/MC/ARM/Windows/thumb-attributes.s @@ -0,0 +1,22 @@ +@ 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: Sections [ +@ CHECK: Section { +@ CHECK: Name: .text +@ CHECK: Characteristics [ +@ CHECK-DAG: IMAGE_SCN_CNT_CODE +@ CHECK-DAG: IMAGE_SCN_MEM_16BIT +@ CHECK: ] +@ CHECK: } +@ CHECK: ]