Noting and enforcing that GC intrinsics are valid only within a
[oota-llvm.git] / test / CodeGen / Generic / GC / lower_gcroot.ll
index 4b0a17478f475e29534c6524d423546472dc8fd6..bd5a2bd14b4e61cf8d559e57aefbd582a39377c1 100644 (file)
@@ -2,7 +2,7 @@
 
        %Env = type i8*
 
-define void @.main(%Env) {
+define void @.main(%Env) gc "shadow-stack" {
        %Root = alloca %Env
        call void @llvm.gcroot( %Env* %Root, %Env null )
        unreachable