Displaying 1 result from an estimated 1 matches for "getmachblock".
2013 Jan 11
0
[LLVMdev] modifiy the address of GlobalVariable emitted by JIT
...big deal because what all threads
are trying to do is just
modify the address from A to B ( A , B is fixed ).
I modify the address of the globalvariable by
long* addr = (long*)(cur->getGVAddressPtrVector()[ix]); // no vector
insertion or deletion when this is called.
*addr = (long)next->getMachBlock();
% ix is just a vector index
---------------------------------------------------
std::vector<long>& TransBlock::getGVAddressPtrVector()
{
return gvAddress; // this vector stores the address of the globalvariable
emitted by JIT
}
inline void * getMachBlock() const {
return m...