Displaying 2 results from an estimated 2 matches for "pwrapper".
Did you mean:
wrapper
2002 Oct 11
2
[LLVMdev] Accessing a function's arguments
I am trying to generate a simple wrapper function:
Function* pWrapper = m_module.getOrInsertFunction(name,
FunctionType::get(Type::VoidTy,
vector<const Type*>(1, PointerType::get(Type::IntTy)), false));
How do I actually get the Value* for the one argument to this function?
The pWrapper->getArgumentList().size() is 0. Shouldn't the argument l...
2002 Oct 11
0
[LLVMdev] Accessing a function's arguments
Just a followup for the archives ...
> I am trying to generate a simple wrapper function:
>
> Function* pWrapper = m_module.getOrInsertFunction(name,
> FunctionType::get(Type::VoidTy,
> vector<const Type*>(1, PointerType::get(Type::IntTy)), false));
>
> How do I actually get the Value* for the one argument to this function?
> The pWrapper->getArgumentList().size() is 0. Sho...