llvm-project/lldb/source/Expression
Jason Molenda e9fe788d32 Target::ReadMemory read from read-only binary file Section, not memory
Commiting this patch for Augusto Noronha who is getting set
up still.

This patch changes Target::ReadMemory so the default behavior
when a read is in a Section that is read-only is to fetch the
data from the local binary image, instead of reading it from
memory.  Update all callers to use their old preferences
(the old prefer_file_cache bool) using the new API; we should
revisit these calls and see if they really intend to read
live memory, or if reading from a read-only Section would be
equivalent and important for performance-sensitive cases.

rdar://30634422

Differential revision: https://reviews.llvm.org/D100338
2021-04-16 16:13:07 -07:00
..
CMakeLists.txt [CMake] Make `intrinsics_gen` dependency unconditional. 2020-07-17 16:43:17 -07:00
DWARFExpression.cpp Teach DWARFExpression about DWARF 4+ Location Descriptions 2021-03-23 10:29:51 -07:00
DiagnosticManager.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
Expression.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
ExpressionVariable.cpp Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish) 2020-07-27 13:26:35 -07:00
FunctionCaller.cpp [lldb] Support debugging utility functions 2021-02-24 11:36:01 -08:00
IRExecutionUnit.cpp [Diagnose] Unify MCContext and LLVMContext diagnosing 2021-03-01 15:58:37 -08:00
IRInterpreter.cpp [lldb] Fix error message in IRInterpreter 2021-03-08 16:46:38 +01:00
IRMemoryMap.cpp Target::ReadMemory read from read-only binary file Section, not memory 2021-04-16 16:13:07 -07:00
LLVMUserExpression.cpp [lldb] Lower GetRealStopInfo into ThreadPlanCallFunction (NFC) 2021-02-15 17:59:24 -08:00
Materializer.cpp [lldb/Utility] Add unit tests for RegisterValue::GetScalarValue 2020-11-03 16:12:32 +01:00
REPL.cpp Use zu rather than llu format specifier for size_t (-Wformat warning fix). 2020-09-16 19:28:05 -07:00
UserExpression.cpp [lldb] Fix that running a top level expression without a process fails with a cryptic error 2021-02-11 17:07:11 +01:00
UtilityFunction.cpp [lldb] Support debugging utility functions 2021-02-24 11:36:01 -08:00