1 ; RUN: llc < %s -mtriple=thumbv6m -mattr=+execute-only %s -o - | FileCheck %s
2 ; RUN: llc < %s -mtriple=thumbv7m -mattr=+execute-only %s -o - | FileCheck %s
3 ; RUN: llc < %s -mtriple=thumbv8m.base -mattr=+execute-only %s -o - | FileCheck %s
4 ; RUN: llc < %s -mtriple=thumbv8m.base -mcpu=cortex-m23 -mattr=+execute-only %s -o - | FileCheck %s
5 ; RUN: llc < %s -mtriple=thumbv8m.main -mattr=+execute-only %s -o - | FileCheck %s
7 ; CHECK: .section .text,"axy",%progbits,unique,0
10 ; CHECK: .globl test_SectionForGlobal
11 ; CHECK: .type test_SectionForGlobal,%function
12 define void @test_SectionForGlobal() {
17 ; CHECK: .section .test,"axy",%progbits
20 ; CHECK: .globl test_ExplicitSectionForGlobal
21 ; CHECK: .type test_ExplicitSectionForGlobal,%function
22 define void @test_ExplicitSectionForGlobal() section ".test" {