[llvm-objdump] - Remove one overload of reportError. NFCI.
[llvm-complete.git] / test / MC / ARM / Windows / multiple-text-sections.s
blob6359f9cf254d5e927eafc72d67c350decc972790
1 @ RUN: llvm-mc -triple thumbv7-windows-itanium -filetype obj -o - %s \
2 @ RUN: | llvm-readobj -S - | FileCheck %s
4 .syntax unified
5 .text
6 .thumb
8 .section .text,"xr",one_only,a
10 .def a;
11 .scl 2;
12 .type 32;
13 .endef
15 movs r0, #65
16 bx lr
18 .section .text,"xr",one_only,b
20 .def b;
21 .scl 2;
22 .type 32;
23 .endef
24 .thumb_func
26 movs r0, #66
27 bx lr
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: ]