[LLVMdev] Find size of memory pointer is pointing to
sunil rathee
ratheesuniljec at gmail.com
Sun Nov 11 12:19:47 PST 2012
Hi,
Can we find the size of memory a pointer is pointing to in LLVM. For example
type *p = (type *)malloc(sizeof(type)*20);
then it should give us size as sizeof(type) * 20.
--
Sunil Rathee
MTech
IIT Delhi
Not going along with the crowd can help you stand out in the crowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121112/224529a5/attachment.html>
More information about the llvm-dev
mailing list