Hi,<div><br></div><div>I've not looked at the patch in any detail, but I see that it doesn't affect the __builtin_object_size calculation. Do you intend to implement that part of it too? The code implementing that is in lib/AST/ExprConstant.cpp (search for TryEvaluateBuiltinObjectSize).</div>
<div><br></div><div>Future patches should be sent to cfe-commits@ for review, not cfe-dev@.</div><div><br></div><div>Thanks!</div><div>Richard<br><br><div class="gmail_quote">On Wed, Feb 22, 2012 at 4:30 PM, Xi Wang <span dir="ltr"><<a href="mailto:xi.wang@gmail.com">xi.wang@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>
Attached is a proposed patch that adds support to the alloc_size attribute.<br>
<br>
<a href="http://llvm.org/bugs/show_bug.cgi?id=10516" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=10516</a><br>
<br>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>