Displaying 1 result from an estimated 1 matches for "gvar_int32_x".
2011 Apr 19
4
[LLVMdev] llvm-gcc
...lvm-gcc 4.5 i get all the times a wrong bc file
as output, because when i try to execute it with lli it says to me
invalid signature.
2 -
for (Module::iterator a=M.begin(),b=M.end();a!=b;++a) {
for (Function::iterator i = a->begin(), e = a->end(); i != e; ++i){
new StoreInst(const_int32_12, gvar_int32_x, false, label_entry);
// normally label entry would be the end of the basic bloc i
}
}
what would be the value of label entry to make the instruction
inserted at the end of the basic bloc
when i have tried this:
Instruction* label_entry = i->begin();
new StoreInst(const_int32_12, gvar_int32_x, f...