[cfe-dev] Bugfix - Clang handles __builtin_object_size in wrong way

David Majnemer david.majnemer at gmail.com
Wed Aug 12 15:25:59 PDT 2015


On Tue, Aug 11, 2015 at 7:32 PM, George Burgess <gbiv at google.com> wrote:

> Attached is a fix for https://llvm.org/bugs/show_bug.cgi?id=15212 .
>
> Summary: Tighten up some of the results for __builtin_object_size(ptr,
> type) when given type == 1 or type == 3 + fixed a bug where we would report
> incorrect results for type == 3.
>
> > 90% of the patch is courtesy of Richard Smith. :)
>

Thanks for working on this.  Patches to clang should be sent to the
clang-commits list.  Also, please consider using phabricator, it would make
the patch easier to review (for me at least).


>
> George
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150812/aefb0e52/attachment.html>


More information about the cfe-dev mailing list