diff options
author | Greg Clayton <gclayton@apple.com> | 2013-05-22 21:00:49 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-05-22 21:00:49 +0000 |
commit | a1b5dd9a2012398d9189ce3f397f9c48047776ef (patch) | |
tree | 6ac7ed68341c87702d000a0e93d3468e88998013 /llvm/lib/CodeGen/LiveVariables.cpp | |
parent | 9b703f9c5d85d9ebe78bf4ac09c246bde7cb9588 (diff) | |
download | bcm5719-llvm-a1b5dd9a2012398d9189ce3f397f9c48047776ef.tar.gz bcm5719-llvm-a1b5dd9a2012398d9189ce3f397f9c48047776ef.zip |
<rdar://problem/13956179>
Fixed ProcessMachCore to be able to locate the main executeable in the core file even if it doesn't start at a core file address range boundary. Prior to this we only checked the first bytes of each range in the core file for mach_kernel or dyld. Now we still do this, but if we don't find the mach_kernel or dyld anywhere, we go through all core file ranges and check every 0x1000 to see if we can find dyld or the mach_kernel.
Now that we can properly detect the mach_kernel at any address, we don't need to call "DynamicLoaderDarwinKernel::SearchForDarwinKernel(Process*)" anymore.
llvm-svn: 182513
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions