aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2016-02-06 04:55:26 +0000
committerJason Molenda <jmolenda@apple.com>2016-02-06 04:55:26 +0000
commit880988af09bbe6d634959d3b5bb94cf8bd6973cd (patch)
treec59eec1929684696cdf12cd5383931751be5da77 /clang/lib/CodeGen/CodeGenModule.cpp
parentbafa729e26923f11c199fb1e2b8d38fbf6f471c2 (diff)
downloadllvm-880988af09bbe6d634959d3b5bb94cf8bd6973cd.zip
llvm-880988af09bbe6d634959d3b5bb94cf8bd6973cd.tar.gz
llvm-880988af09bbe6d634959d3b5bb94cf8bd6973cd.tar.bz2
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions