brintos

brintos / llvm-project-archived public Read only

0
0
Text · 527 B · bd41101 Raw
19 lines · plain
1; RUN: llc -mtriple=arm64ec-unknown-windows < %s | FileCheck -check-prefixes=CHECK,NONGNU %s2; RUN: llc -mtriple=arm64ec-unknown-windows-gnu < %s | FileCheck -check-prefixes=CHECK,GNU %s3 4; CHECK-LABEL: func = "#func"5; CHECK: bl "#other"6; NONGNU: bl "#__security_check_cookie_arm64ec"7; GNU: bl "#__stack_chk_fail"8define void @func() #0 {9entry:10  %buf = alloca [10 x i8], align 111  call void @other(ptr %buf) #112  ret void13}14 15declare void @other(ptr) #116 17attributes #0 = { nounwind sspstrong }18attributes #1 = { nounwind }19