Add new ExecutionEngine::getGlobalValueAtAddress method, which can efficiently
authorChris Lattner <sabre@nondot.org>
Wed, 31 Dec 2003 20:21:04 +0000 (20:21 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 31 Dec 2003 20:21:04 +0000 (20:21 +0000)
commit55d86482bd9fac6f90a7f6fb35c2f4dec9569fdb
tree85a9ae0d796620882e23c43fd298583e9a256fa5
parentc8a07d7378699b8d11ce2a1549b984d84706da19
Add new ExecutionEngine::getGlobalValueAtAddress method, which can efficiently
turn a memory address back into the LLVM global object that starts at that
address.  Note that this won't cause any additional datastructures to be built
for clients of the EE that don't need this information.

Also modified some code to not access the GlobalAddress map directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10674 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/ExecutionEngine.cpp