llvm-for-llvmta/test/MC/ARM/Windows/thumb-attributes.s

17 lines
299 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
@ 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