search for: getentireobjectsize

Displaying 2 results from an estimated 2 matches for "getentireobjectsize".

2013 Feb 27
0
[LLVMdev] Question about intrinsic function llvm.objectsize
..."object" to getObjectSize() by calling getUnderlyingObject(). However, if the base-addr is bit complicated, say, one needs to go through U-D chain (including phi node). In this situation, a helper class ObjectSizeOffsetVisitor will help. My take is to implement another function, call getEntireObjectSize(p) which returns the size of the entire object no matter where the p is pointing to. How does this sound to you? Thanks
2013 Feb 27
4
[LLVMdev] Question about intrinsic function llvm.objectsize
On Feb 27, 2013, at 4:05 AM, Nuno Lopes <nunoplopes at sapo.pt> wrote: > Hi, > > Regarding the definition of object for @llvm.objectsize, it is identical to gcc's __builtin_object_size(). So it's not wrong; it's just the way it was defined to be. > > Regarding the BasicAA's usage of these functions, I'm unsure. It seems to me that isObjectSmallerThan()