1@ RUN: llvm-mc -triple thumbv7-windows-itanium -filetype obj -o - %s \ 2@ RUN: | llvm-readobj -s - | FileCheck %s 3 4 .syntax unified 5 .thumb 6 7 .text 8 9 .def function 10 .type 32 11 .scl 2 12 .endef 13 .global function 14 .thumb_func 15function: 16 bx lr 17 18@ CHECK: Sections [ 19@ CHECK: Section { 20@ CHECK: Name: .text 21@ CHECK: Characteristics [ 22@ CHECK: IMAGE_SCN_ALIGN_4BYTES 23@ CHECK: IMAGE_SCN_CNT_CODE 24@ CHECK: IMAGE_SCN_MEM_16BIT 25@ CHECK: IMAGE_SCN_MEM_EXECUTE 26@ CHECK: IMAGE_SCN_MEM_PURGEABLE 27@ CHECK: IMAGE_SCN_MEM_READ 28@ CHECK: ] 29@ CHECK: } 30@ CHECK: ] 31