<br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Date: Thu, 17 Apr 2008 13:54:12 -0400<br> From: "Jonathan S. Shapiro" <<a href="mailto:shap@eros-os.com">shap@eros-os.com</a>><br>
<br> ><br> > The GC infrastructure exposes this information in a framework suitable<br> > for emitting metadata tables from a compiler plugin, if your interest<br> > lies in that direction.<br> <br> That too, but my immediate interest was computing an upper bound on<br>
stack size for the Coyotos kernel.</blockquote><div><br> </div><a name="int_frameaddress">Does '<tt>llvm.frameaddress</tt>' work for this purpose? Have you tried it?<br><br>It seems </a><a name="int_frameaddress">'<tt>llvm.frameaddress</tt>' is not very precise. <br>
<br>Is it possible to compute the upper bound of stack size in bits?<br><br>Many thanks,<br> GUan<br></a></div>