llvm-project/lldb/source
Jason Molenda 880988af09 ProcessMachCore scans through the core file pages looking for a
user process dyld binary and/or a mach kernel binary image.  By
default, it prefers the kernel if it finds both.

But if it finds two kernel binary images (which can happen when
random things are mapped into memory), it may pick the wrong
kernel image.  

DynamicLoaderDarwinKernel has heuristics to find a kernel in memory;
once we've established that there is a kernel binary in memory,
call over to that class to see if it can find a kernel address via
its search methods.  If it does, use that.

Some minor cleanups to DynamicLoaderDarwinKernel while I was at it.

<rdar://problem/24446112> 

llvm-svn: 259983
2016-02-06 04:55:26 +00:00
..
API Log error message in SBTarget::Launch 2016-02-02 15:16:20 +00:00
Breakpoint Remove autoconf support from source directories. 2016-01-28 22:05:24 +00:00
Commands Per Jim's suggestion, move checks that we're not mixing and matching Debuggers and Commands deeper in the bowels of LLDB 2016-02-06 01:36:07 +00:00
Core Remove Timer::Initialize routine 2016-02-01 13:29:41 +00:00
DataFormatters Fix TestDataFormatterScript for Linux. 2016-01-29 03:48:08 +00:00
Expression Take 2: Use an artifical namespace so that member vars do not hide local vars. 2016-02-05 19:10:04 +00:00
Host Make HostThread SetName work on OS X. GetName doesn't currently work, the code that was in 2016-02-04 19:42:32 +00:00
Initialization Remove Timer::Initialize routine 2016-02-01 13:29:41 +00:00
Interpreter Per Jim's suggestion, move checks that we're not mixing and matching Debuggers and Commands deeper in the bowels of LLDB 2016-02-06 01:36:07 +00:00
Plugins ProcessMachCore scans through the core file pages looking for a 2016-02-06 04:55:26 +00:00
Symbol Take 2: Use an artifical namespace so that member vars do not hide local vars. 2016-02-05 19:10:04 +00:00
Target Per Jim's suggestion, move checks that we're not mixing and matching Debuggers and Commands deeper in the bowels of LLDB 2016-02-06 01:36:07 +00:00
Utility Remove autoconf support from source directories. 2016-01-28 22:05:24 +00:00
CMakeLists.txt Add initial CMake glue for the NetBSD platform 2015-10-24 00:27:04 +00:00
lldb.cpp Add more NetBSD platform glue for lldb 2015-11-07 15:31:54 +00:00