• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s
2
3	%Env = type i8*
4
5define void @.main(%Env) gc "shadow-stack" {
6	%Root = alloca %Env
7	call void @llvm.gcroot( %Env* %Root, %Env null )
8	unreachable
9}
10
11declare void @llvm.gcroot(%Env*, %Env)
12