Displaying 2 results from an estimated 2 matches for "_pointerarray".
Did you mean:
pointerarray
2008 Jun 28
2
[LLVMdev] need to store the address of a variable
...blem is, that I want to get an array of pointers to all local variables
in a function. This array will be used for transfering these Variables to
another execution engine.
I've code which generates this array, and a pointer to the target field of the
array.
name = variables.fname + "_pointerArray";
Instruction* pointerArray = new
AllocaInst(PointerType::get(Type::Int32Ty,NULL),
ConstantInt::get(Type::Int32Ty, variables.inst.size()),
name,
alloca_point);
// fill array with the addresses of the functions
for(unsigned int i = 0; i < variables.inst.size(); i++) {
na...
2008 Jun 28
0
[LLVMdev] need to store the address of a variable
...rray of pointers to all local variables
> in a function. This array will be used for transfering these Variables to
> another execution engine.
>
> I've code which generates this array, and a pointer to the target field of the
> array.
>
> name = variables.fname + "_pointerArray";
> Instruction* pointerArray = new
> AllocaInst(PointerType::get(Type::Int32Ty,NULL),
> ConstantInt::get(Type::Int32Ty, variables.inst.size()),
> name,
> alloca_point);
>
> // fill array with the addresses of the functions
> for(unsigned int i = 0; i...