[llvm-objdump] - Remove one overload of reportError. NFCI.
[llvm-complete.git] / test / MC / ELF / ARM / execute-only-populated-text-section.s
blob57c80465679fd1e91b7ddf8d5494fad968de8b80
1 // RUN: llvm-mc -filetype=obj -triple thumbv7m-arm-linux-gnu %s -o - \
2 // RUN: | llvm-readobj -S --symbols | FileCheck %s
4 .text
5 bx lr
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: }