1@ RUN: llvm-mc -triple thumbv7-windows-itanium -filetype obj -o - %s \ 2@ RUN: | llvm-readobj -S - | FileCheck %s 3 4 .syntax unified 5 .text 6 .thumb 7 8 .section .text,"xr",one_only,a 9 10 .def a; 11 .scl 2; 12 .type 32; 13 .endef 14a: 15 movs r0, #65 16 bx lr 17 18 .section .text,"xr",one_only,b 19 20 .def b; 21 .scl 2; 22 .type 32; 23 .endef 24 .thumb_func 25b: 26 movs r0, #66 27 bx lr 28 29@ CHECK: Sections [ 30@ CHECK: Section { 31@ CHECK: Name: .text 32@ CHECK: Characteristics [ 33@ CHECK: IMAGE_SCN_CNT_CODE 34@ CHECK: IMAGE_SCN_MEM_16BIT 35@ CHECK: IMAGE_SCN_MEM_EXECUTE 36@ CHECK: IMAGE_SCN_MEM_READ 37@ CHECK: ] 38@ CHECK: } 39@ CHECK: Section { 40@ CHECK: Name: .text 41@ CHECK: Characteristics [ 42@ CHECK: IMAGE_SCN_CNT_CODE 43@ CHECK: IMAGE_SCN_MEM_16BIT 44@ CHECK: IMAGE_SCN_MEM_EXECUTE 45@ CHECK: IMAGE_SCN_MEM_READ 46@ CHECK: ] 47@ CHECK: } 48@ CHECK: Section { 49@ CHECK: Name: .text 50@ CHECK: Characteristics [ 51@ CHECK: IMAGE_SCN_CNT_CODE 52@ CHECK: IMAGE_SCN_MEM_16BIT 53@ CHECK: IMAGE_SCN_MEM_EXECUTE 54@ CHECK: IMAGE_SCN_MEM_READ 55@ CHECK: ] 56@ CHECK: } 57@ CHECK: ] 58 59