[ELF] Reorder SectionBase/InputSectionBase members
[llvm-project.git] / clang / test / CodeGen / arm-cmse.c
blobdbb232fb85a26abb984bff2a7a1398ae9129d8bf
1 // RUN: %clang_cc1 -triple thumbv8m.base-none-eabi -O1 -emit-llvm %s -o - | FileCheck %s
2 int test_cmse_TT(void *p){
3 return __builtin_arm_cmse_TT(p);
4 // CHECK: call i32 @llvm.arm.cmse.tt(ptr %{{.*}})
7 int test_cmse_TTT(void *p){
8 return __builtin_arm_cmse_TTT(p);
9 // CHECK: call i32 @llvm.arm.cmse.ttt(ptr %{{.*}})
12 int test_cmse_TTA(void *p){
13 return __builtin_arm_cmse_TTA(p);
14 // CHECK: call i32 @llvm.arm.cmse.tta(ptr %{{.*}})
17 int test_cmse_TTAT(void *p){
18 return __builtin_arm_cmse_TTAT(p);
19 // CHECK: call i32 @llvm.arm.cmse.ttat(ptr %{{.*}})