[LLVMdev] get the size of pointed object by an argument of a function

Nayden Nedev ndn.nedev at gmail.com
Fri Aug 27 17:06:07 PDT 2010


Hi,

I would like to get a copy of all arguments of a called function in LLVM.
Unfortunately, when the argument is void* the size of the pointed object in
LLVM is one byte (it is treated as char*), and I cannot get the size of the
pointed object in Interpreter::visitCallSite(CallSite CS). Do you know how
to get this? I just would like to get a copy of the pointed object by the
argument.

--Nayden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100827/3fa17364/attachment.html>


More information about the llvm-dev mailing list