diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-04-05 13:33:55 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-04-05 13:46:41 -0700 |
commit | f2ea125ea09d9e4512fa08a89eac5e0069d83738 (patch) | |
tree | 305b46e9f8a190e426afde0fa24bb85c96279da2 /lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp | |
parent | fc54427e76c89e567390dd4a1d64a65568f4ec26 (diff) | |
download | llvm-f2ea125ea09d9e4512fa08a89eac5e0069d83738.zip llvm-f2ea125ea09d9e4512fa08a89eac5e0069d83738.tar.gz llvm-f2ea125ea09d9e4512fa08a89eac5e0069d83738.tar.bz2 |
[lldb] Change CreateMemoryInstance to take a WritableDataBuffer
Change the CreateMemoryInstance interface to take a WritableDataBuffer.
Differential revision: https://reviews.llvm.org/D123073
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp b/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp index 97fac5c..2ea83e4 100644 --- a/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp +++ b/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp @@ -65,7 +65,7 @@ ObjectFile *ObjectFileJIT::CreateInstance(const lldb::ModuleSP &module_sp, } ObjectFile *ObjectFileJIT::CreateMemoryInstance(const lldb::ModuleSP &module_sp, - DataBufferSP data_sp, + WritableDataBufferSP data_sp, const ProcessSP &process_sp, lldb::addr_t header_addr) { // JIT'ed object file is backed by the ObjectFileJITDelegate, never read from |