Add another address to look for the kernel load addr in

DynamicLoaderDarwinKernel::SearchForKernelWithDebugHints
on 32-bit devices.

<rdar://problem/29423290> 

llvm-svn: 288284
This commit is contained in:
Jason Molenda 2016-11-30 23:00:52 +00:00
parent 37a13ddb4b
commit 61a8e53bf3
1 changed files with 3 additions and 1 deletions

View File

@ -244,7 +244,9 @@ DynamicLoaderDarwinKernel::SearchForKernelWithDebugHints(Process *process) {
0xffffff8000004010ULL, // 2014-2015-ish arm64 devices
0xffffff8000002010ULL, // oldest arm64 devices
LLDB_INVALID_ADDRESS};
addr_t kernel_addresses_32[] = {0xffff0110, LLDB_INVALID_ADDRESS};
addr_t kernel_addresses_32[] = {0xffff0110, // 2016 and earlier armv7 devices
0xffff1010,
LLDB_INVALID_ADDRESS};
uint8_t uval[8];
if (process->GetAddressByteSize() == 8) {