[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / Windows / text-attributes.s
blobea5ee8e95e040acda205b2b57b24ee76759d0695
1 @ RUN: llvm-mc -triple thumbv7-windows-itanium -filetype obj -o - %s \
2 @ RUN: | llvm-readobj -S - | FileCheck %s
4 .syntax unified
5 .thumb
7 .text
9 .def function
10 .type 32
11 .scl 2
12 .endef
13 .global function
14 .thumb_func
15 function:
16 bx lr
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: ]