[all-commits] [llvm/llvm-project] 0d8d31: When loading kernel binary, use DownloadObjectAndS...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Tue Aug 8 17:31:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0d8d31bbf55cedc1dad5c165187a084c1430f407
https://github.com/llvm/llvm-project/commit/0d8d31bbf55cedc1dad5c165187a084c1430f407
Author: Jason Molenda <jmolenda at apple.com>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
Log Message:
-----------
When loading kernel binary, use DownloadObjectAndSymbolFile last
When lldb starts a kernel debug session, it has the UUID of the
kernel binary. lldb will try three different methods to find a
binary and symbol file for this UUID. Currently it calls out to
Symbols::DownloadObjectAndSymbolFile() first, which may be the
slowest method when a DBGShellCommand can find the UUID on a
network filesystem or downloaded from a server.
This patch tries the local searches first, then falls back to that
method.
Differential Revision: https://reviews.llvm.org/D157165
More information about the All-commits
mailing list