[Lldb-commits] [lldb] 3e11d84 - [Darwin] Add another hint to find the kernel. NFC.
Davide Italiano via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 24 13:04:45 PDT 2020
Author: Davide Italiano
Date: 2020-03-24T13:04:36-07:00
New Revision: 3e11d84d9f77736af22f52753593c8214d76875a
URL: https://github.com/llvm/llvm-project/commit/3e11d84d9f77736af22f52753593c8214d76875a
DIFF: https://github.com/llvm/llvm-project/commit/3e11d84d9f77736af22f52753593c8214d76875a.diff
LOG: [Darwin] Add another hint to find the kernel. NFC.
Added:
Modified:
lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
index 193b3bd829c5..68a0335682d3 100644
--- a/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
+++ b/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
@@ -245,6 +245,7 @@ DynamicLoaderDarwinKernel::SearchForKernelWithDebugHints(Process *process) {
Status read_err;
addr_t kernel_addresses_64[] = {
+ 0xfffffff000002010ULL,
0xfffffff000004010ULL, // newest arm64 devices
0xffffff8000004010ULL, // 2014-2015-ish arm64 devices
0xffffff8000002010ULL, // oldest arm64 devices
More information about the lldb-commits
mailing list