Hello! You can do this:<div><br></div><div><a href="http://nondot.org/sabre/LLVMNotes/SizeOf-OffsetOf-VariableSizedStructs.txt">http://nondot.org/sabre/LLVMNotes/SizeOf-OffsetOf-VariableSizedStructs.txt</a><br><br><div class="gmail_quote">

On Fri, May 7, 2010 at 8:26 PM, Gang.Yao <span dir="ltr"><<a href="mailto:ttoole9@gmail.com">ttoole9@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi:<br><br>just like the c function sizeof(). I would avoid the usage of the c<br>function call, and expect something like llvm<br>intrinsic or some class providing this functionality.<br><br clear="all">Does someone have experience in this?<br>



Thanks<br><br>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div>