llvm-project/lldb/source/Symbol
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
..
ArmUnwindInfo.cpp [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
Block.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
CMakeLists.txt Revert "[lldb] add a missing dependency on intrinsics_gen" 2020-11-20 16:02:16 -05:00
CompactUnwindInfo.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
CompileUnit.cpp [lldb] Use CompileUnit::ResolveSymbolContext in SymbolFileDWARF 2021-03-22 08:44:16 +01:00
CompilerDecl.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
CompilerDeclContext.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
CompilerType.cpp [lldb][NFC] Give CompilerType's IsArrayType/IsVectorType/IsBlockPointerType out-parameters default values 2021-02-23 11:15:31 +01:00
DWARFCallFrameInfo.cpp [lldb] Abstract scoped timer logic behind LLDB_SCOPED_TIMER (NFC) 2020-12-22 09:10:27 -08:00
DebugMacros.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
DeclVendor.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Declaration.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
FuncUnwinders.cpp [lldb][NFC] Add 'override' where missing in source/ and tools/ 2020-07-15 11:34:47 -07:00
Function.cpp Target::ReadMemory read from read-only binary file Section, not memory 2021-04-16 16:13:07 -07:00
LineEntry.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
LineTable.cpp [lldb][NFC] Use llvm::is_contained instead of std::find in a few places 2020-08-13 14:11:28 +02:00
LocateSymbolFile.cpp [lldb] Abstract scoped timer logic behind LLDB_SCOPED_TIMER (NFC) 2020-12-22 09:10:27 -08:00
LocateSymbolFileMacOSX.cpp Ignore DBGArchitecture from dsymForUUID's plist 2020-12-09 14:19:55 -08:00
ObjectFile.cpp [lldb] Simplify ObjectFile::FindPlugin (NFC) 2020-12-23 14:06:40 -08:00
PostfixExpression.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Symbol.cpp Target::ReadMemory read from read-only binary file Section, not memory 2021-04-16 16:13:07 -07:00
SymbolContext.cpp Fix "image lookup --address" Summary results for inline functions. 2021-04-01 11:36:26 -07:00
SymbolFile.cpp [lldb][NFC] Make all CompilerDeclContext parameters references instead of pointers 2020-02-18 08:58:36 +01:00
SymbolVendor.cpp [lldb] Delete copy operations on PluginInterface class 2020-10-09 10:37:09 +02:00
Symtab.cpp [lldb] Abstract scoped timer logic behind LLDB_SCOPED_TIMER (NFC) 2020-12-22 09:10:27 -08:00
Type.cpp GetModule, GetExeModule methods added 2020-10-29 23:44:51 +03:00
TypeList.cpp Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
TypeMap.cpp Allow lldb-test to combine -find with -dump-clang-ast 2020-04-17 11:01:20 -07:00
TypeSystem.cpp [lldb] Fix use of undefined type 'lldb_private::UtilityFunction' 2020-10-23 11:48:11 -07:00
UnwindPlan.cpp Add a new Row setting to mark all un-declared regs as Undefined 2021-02-17 23:52:28 -08:00
UnwindTable.cpp [lldb] Use std::make_unique<> (NFC) 2020-06-24 17:48:40 -07:00
Variable.cpp Move initialization of Variable::m_loc_is_const_data into constructor (NFC) 2020-10-13 17:01:28 -07:00
VariableList.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00