[PATCH] D12000: Bugfix - Clang handles __builtin_object_size in wrong way
George Burgess IV via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 12 17:04:07 PDT 2015
george.burgess.iv created this revision.
george.burgess.iv added a subscriber: cfe-commits.
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. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9755 bytes
Desc: not available
More information about the cfe-commits