llvm-project/lldb/source/Plugins
Jason Molenda 87f0f95e4c Some NFC changes to how we scan of kexts & kernels in memory in the
DynamicLoaderDarwinKernel plugin.  Created a new function ReadMachHeader
and instead of reading through the target cached memory reader,
start by reading only a mach header sized chunk of memory, then
check it for a valid mach-o magic # and use the size of the load
commands to pre-fetch the entire load commands of the kext which
is the only thing we're going to read, instead of letting the generic
mach-o parser read it in 512 byte chunks.

Functionally this is doing exactly the same thing as before, but by
cutting down on the # of packets going back and forth, even on a 
local connection it's close to a quarter faster than it was before.

<rdar://problem/38570146> 

llvm-svn: 334995
2018-06-18 23:30:03 +00:00
..
ABI Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
Architecture Typo fixes. 2018-05-29 09:10:46 +00:00
Disassembler Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
DynamicLoader Some NFC changes to how we scan of kexts & kernels in memory in the 2018-06-18 23:30:03 +00:00
ExpressionParser [FileSpec] Make style argument mandatory for SetFile. NFC 2018-06-13 22:08:14 +00:00
Instruction Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
InstrumentationRuntime Remove append parameter to FindGlobalVariables 2018-05-31 09:46:26 +00:00
JITLoader Normalize some lldb #include statements. 2018-05-22 22:53:50 +00:00
Language [ObjC] Add dataformatter for NSDecimalNumber 2018-06-13 18:47:04 +00:00
LanguageRuntime Use llvm::VersionTuple instead of manual version marshalling 2018-06-18 15:02:23 +00:00
MemoryHistory Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ObjectContainer Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
ObjectFile Use llvm::VersionTuple instead of manual version marshalling 2018-06-18 15:02:23 +00:00
OperatingSystem Remove append parameter to FindGlobalVariables 2018-05-31 09:46:26 +00:00
Platform Fix netbsd build broken by r334950 2018-06-18 15:44:36 +00:00
Process Use llvm::VersionTuple instead of manual version marshalling 2018-06-18 15:02:23 +00:00
ScriptInterpreter [FileSpec] Delegate common operations to llvm::sys::path 2018-06-13 16:23:21 +00:00
StructuredData Typo fixes. 2018-05-29 09:10:46 +00:00
SymbolFile DebugNamesDWARFIndex: fix handling of compressed sections 2018-06-14 14:41:30 +00:00
SymbolVendor Document how lldb uses the DBGSourcePathRemapping 2018-06-11 21:36:40 +00:00
SystemRuntime Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
UnwindAssembly Typo fixes. 2018-05-29 09:10:46 +00:00
CMakeLists.txt Move StopInfoOverride callback to the new architecture plugin 2017-10-25 21:05:31 +00:00