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