Skip to content

Commit 61a8e53

Browse files
committed
Add another address to look for the kernel load addr in
DynamicLoaderDarwinKernel::SearchForKernelWithDebugHints on 32-bit devices. <rdar://problem/29423290> llvm-svn: 288284
1 parent 37a13dd commit 61a8e53

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,9 @@ DynamicLoaderDarwinKernel::SearchForKernelWithDebugHints(Process *process) {
244244
0xffffff8000004010ULL, // 2014-2015-ish arm64 devices
245245
0xffffff8000002010ULL, // oldest arm64 devices
246246
LLDB_INVALID_ADDRESS};
247-
addr_t kernel_addresses_32[] = {0xffff0110, LLDB_INVALID_ADDRESS};
247+
addr_t kernel_addresses_32[] = {0xffff0110, // 2016 and earlier armv7 devices
248+
0xffff1010,
249+
LLDB_INVALID_ADDRESS};
248250

249251
uint8_t uval[8];
250252
if (process->GetAddressByteSize() == 8) {

0 commit comments

Comments
 (0)