summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2016-11-30 23:00:52 +0000
committerJason Molenda <jmolenda@apple.com>2016-11-30 23:00:52 +0000
commit61a8e53bf3d78c7733b5a7ba772c9b7199d0d5cb (patch)
treea0d489ce179565452f732f597b52210c8214c975 /lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
parent37a13ddb4bb433ddebc64bf51a10f48fe75ac49c (diff)
downloadbcm5719-llvm-61a8e53bf3d78c7733b5a7ba772c9b7199d0d5cb.tar.gz
bcm5719-llvm-61a8e53bf3d78c7733b5a7ba772c9b7199d0d5cb.zip
Add another address to look for the kernel load addr in
DynamicLoaderDarwinKernel::SearchForKernelWithDebugHints on 32-bit devices. <rdar://problem/29423290> llvm-svn: 288284
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp')
-rw-r--r--lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
index bc58d2a7586..b7010303bca 100644
--- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
+++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
@@ -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) {
OpenPOWER on IntegriCloud