[llvm-objdump] - Remove one overload of reportError. NFCI.
[llvm-complete.git] / test / MC / ELF / ARM / execute-only-text-section-data.s
blob4845dc2ce1780cb7fa59c1470a3156254195c072
1 // RUN: llvm-mc -filetype=obj -triple thumbv7m-arm-linux-gnu %s -o - \
2 // RUN: | llvm-readobj -S --symbols | FileCheck %s
4 .text
5 .ascii "test"
7 .section .text.foo,"axy"
8 bx lr
10 // CHECK: Section {
11 // CHECK: Name: .text
12 // CHECK-NEXT: Type: SHT_PROGBITS (0x1)
13 // CHECK-NEXT: Flags [ (0x6)
14 // CHECK-NEXT: SHF_ALLOC (0x2)
15 // CHECK-NEXT: SHF_EXECINSTR (0x4)
16 // CHECK-NEXT: ]
17 // CHECK: }
19 // CHECK: Section {
20 // CHECK: Name: .text.foo
21 // CHECK-NEXT: Type: SHT_PROGBITS (0x1)
22 // CHECK-NEXT: Flags [ (0x20000006)
23 // CHECK-NEXT: SHF_ALLOC (0x2)
24 // CHECK-NEXT: SHF_ARM_PURECODE (0x20000000)
25 // CHECK-NEXT: SHF_EXECINSTR (0x4)
26 // CHECK-NEXT: ]
27 // CHECK: }