[LLVMdev] get the size of pointed object by an argument of a function
ndn.nedev at gmail.com
Fri Aug 27 17:06:07 PDT 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev