[LLVMdev] How can I obtain upper bound of a pointer?
李永超
lyc364 at gmail.com
Sun Dec 15 18:22:41 PST 2013
Hi,
How can I obtain the upper bound of a pointer in the code? For example, I
have
a pointer Ptr which points to a block of memory that is allocated by
malloc, say,
Ptr = malloc(size);
Then what should I do if I am going to get the upper bound of the memory
block
that is pointed to by Ptr in the runtime?
Thanks,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131216/fbea92ae/attachment.html>
More information about the llvm-dev
mailing list