<div dir="ltr">Hello everyone...<div><br></div><div>I'm currently trying to use the [set_gc gc f] function without success. The function type is "string option -> llvalue -> unit"</div><div><br></div><div>
<br></div><div>I have tried </div><div><br></div><div>set_gc "shadow-stack" func;<br></div><div><br></div><div><div>"Error: This expression has type string but an expression was expected of type</div><div>         string option"</div>
</div><div><br></div><div><br></div><div>and </div><div><br></div><div><br></div><div>set_gc ~gc:"shadow-stack" func;</div><div><br></div><div><div>"Error: The function applied to this argument has type Llvm.llvalue -> unit</div>
<div>This argument cannot be applied with label ~gc"</div></div><div><br></div><div><br></div><div>Is anyone aware of the correct syntax for using this function?</div><div><br></div><div>Thanks,</div><div>Frank</div>
<div><br></div><div><br></div></div>