brintos

brintos / llvm-project-archived public Read only

0
0
Text · 326 B · f877d95 Raw
11 lines · plain
1; RUN: not opt -disable-output -mtriple=nvptx64-- -enable-selectiondag-sp=0 -passes=stack-protector %s 2>&1 | FileCheck %s2 3; CHECK: error: no libcall available for stack protector4define void @func() sspreq nounwind {5  %alloca = alloca i32, align 46  call void @capture(ptr %alloca)7  ret void8}9 10declare void @capture(ptr)11