[llvm] r176408 - recommit r172363 & r171325 (reverted in r172756)

Arnold Schwaighofer aschwaighofer at apple.com
Mon Mar 4 09:42:24 PST 2013


On Mar 4, 2013, at 11:27 AM, Nuno Lopes <nunoplopes at sapo.pt> wrote:
> 
> FYI, the semantics of @llvm.objectsize I've been describing matches exactly that of gcc's __bultin_object_size().  If there's a bug somewhere, that's in the documentation.

Then we have to update the description in the LangRef to include multiple pointed to objects. Otherwise, my interpretation of llvm.objectsize is possible. How about the attached patch to the documentation.

We cannot expect people to go looking at what gcc's description says about an possibly related intrinsic to find out what LLVM's intrinsic means :). The LangRef should be the ultimate specification of an LLVM intrinsic.


Best,
Arnold

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Docs-Update-documentation-of-llvm.objectsize.patch
Type: application/octet-stream
Size: 1606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130304/dd896177/attachment.obj>


More information about the llvm-commits mailing list