Add ability for external C code to get pointers to functions given their name.
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 28 Jul 2003 19:09:06 +0000 (19:09 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 28 Jul 2003 19:09:06 +0000 (19:09 +0000)
commitd69c1e6dc28bed3c156f78fee5253748e3d509e2
tree89622d528271f684d2f9e7995c47011104eb79d9
parentd94a50f99d5201052e7f88d1f5ef0880d827ab40
Add ability for external C code to get pointers to functions given their name.
This us used by bugpoint -- when code is compiled to a shared object to be
JITted, it must use the JIT's lazy resolution method to find function addresses,
because some functions will not be available at .so load time, as they are in
the bytecode file.

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