get the size of pointed object by an argument of a function

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