mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-12 07:40:58 +00:00
[ExecutionEngine] Add comment explainging that ExecutionEngine::addGlobalMapping
can only be used on named values. https://llvm.org/bugs/PR23497 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268415 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1a0909fd7f
commit
6406486bc6
@ -290,7 +290,8 @@ public:
|
||||
/// at the specified location. This is used internally as functions are JIT'd
|
||||
/// and as global variables are laid out in memory. It can and should also be
|
||||
/// used by clients of the EE that want to have an LLVM global overlay
|
||||
/// existing data in memory. Mappings are automatically removed when their
|
||||
/// existing data in memory. Values to be mapped should be named, and have
|
||||
/// external or weak linkage. Mappings are automatically removed when their
|
||||
/// GlobalValue is destroyed.
|
||||
void addGlobalMapping(const GlobalValue *GV, void *Addr);
|
||||
void addGlobalMapping(StringRef Name, uint64_t Addr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user