10 lines · c
1// RUN: %clang_cc1 -triple aarch64-windows-gnu -Oz -emit-llvm %s -o - | FileCheck %s2// RUN: %clang_cc1 -triple thumbv7-windows-gnu -Oz -emit-llvm %s -o - | FileCheck %s3 4void *test_sponentry(void) {5 return __builtin_sponentry();6}7// CHECK-LABEL: define dso_local {{(arm_aapcs_vfpcc )?}}ptr @test_sponentry()8// CHECK: = tail call ptr @llvm.sponentry.p0()9// CHECK: ret ptr10