blob: c2d418ac50ef58f9683d383feda0e300385914d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
; RUN: llc < %s
%Env = type i8*
define void @.main(%Env) gc "shadow-stack" {
%Root = alloca %Env
call void @llvm.gcroot( %Env* %Root, %Env null )
unreachable
}
declare void @llvm.gcroot(%Env*, %Env)
|