search for: getglobaladdressreversemap

Displaying 2 results from an estimated 2 matches for "getglobaladdressreversemap".

2013 Apr 04
0
[LLVMdev] ExecutionEngine::updateGlobalMapping
...ture of the analysis pass, there can be several calls to updateGlobalMapping with the same GlobalValue key and the same (or sometimes different) address. My problem is when the reverse mapping is enabled, the following fragment: // If we are using the reverse mapping, add it too. if (!EEState.getGlobalAddressReverseMap(locked).empty()) { AssertingVH<const GlobalValue> &V = EEState.getGlobalAddressReverseMap(locked)[Addr]; assert((V == 0 || GV == 0) && "GlobalMapping already established!"); V = GV; } Will assert even though the update of the reverse map, if allowed...
2012 Jun 03
0
[LLVMdev] [question] IR<-->native program state mode switch how / where is it done
...pper, the one that would use these and say "now map everything and switch state" and somehow pass that mapping to the JIT and backwards. emitGlobals(), EmitGlobalVariable(), llvm::JIT::getOrEmitGlobalVariable() llvm::ExecutionEngineState::getGlobalAddressMap(), llvm::ExecutionEngineState::getGlobalAddressReverseMap() I hope I'm not misguided by an incorrect understanding of the JIT architecture, in any case any links to documentation, Doxygen tree, etc are absolutely welcome thanks, (and thanks for all of LLVM actually :) ) Antonis -------------- next part -------------- An HTML attachment was scrubbed....