[llvm-bugs] [Bug 15212] Clang handles __builtin_object_size in wrong way

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 2 13:39:16 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=15212

George Burgess <george.burgess.iv at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from George Burgess <george.burgess.iv at gmail.com> ---
The original issue has been fixed since at least clang 4.0.

We don't pass type info to LLVM, so there are cases where we don't do as well
here as GCC (e.g. things that require inlining), but __builtin_object_size's
accuracy in clang is much improved over what it was when this bug was filed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171002/0743ad9a/attachment.html>


More information about the llvm-bugs mailing list