diff options
Diffstat (limited to 'lldb/source/Core')
-rw-r--r-- | lldb/source/Core/Address.cpp | 3 | ||||
-rw-r--r-- | lldb/source/Core/Disassembler.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lldb/source/Core/Address.cpp b/lldb/source/Core/Address.cpp index a038dd83edc..c87814fa1f6 100644 --- a/lldb/source/Core/Address.cpp +++ b/lldb/source/Core/Address.cpp @@ -68,7 +68,8 @@ ReadBytes (ExecutionContextScope *exe_scope, const Address &address, void *dst, if (target) { Error error; - return target->ReadMemory (address, dst, dst_len, error); + bool prefer_file_cache = false; + return target->ReadMemory (address, prefer_file_cache, dst, dst_len, error); } return 0; } diff --git a/lldb/source/Core/Disassembler.cpp b/lldb/source/Core/Disassembler.cpp index 65380493082..e6fe1b018a5 100644 --- a/lldb/source/Core/Disassembler.cpp +++ b/lldb/source/Core/Disassembler.cpp @@ -422,7 +422,8 @@ Disassembler::ParseInstructions DataBufferSP data_sp(heap_buffer); Error error; - const size_t bytes_read = target->ReadMemory (range.GetBaseAddress(), heap_buffer->GetBytes(), heap_buffer->GetByteSize(), error); + bool prefer_file_cache = true; + const size_t bytes_read = target->ReadMemory (range.GetBaseAddress(), prefer_file_cache, heap_buffer->GetBytes(), heap_buffer->GetByteSize(), error); if (bytes_read > 0) { |