[Lldb-commits] [lldb] [lldb] Expand background symbol lookup (PR #80890)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 6 21:28:50 PST 2024


================
@@ -5,10 +5,11 @@ let Definition = "modulelist" in {
     Global,
     DefaultTrue,
     Desc<"Control the use of external tools and repositories to locate symbol files. Directories listed in target.debug-file-search-paths and directory of the executable are always checked first for separate debug info files. Then depending on this setting: On macOS, Spotlight would be also used to locate a matching .dSYM bundle based on the UUID of the executable. On NetBSD, directory /usr/libdata/debug would be also searched. On platforms other than NetBSD directory /usr/lib/debug would be also searched. If all other methods fail there may be symbol-locator plugins that, if configured properly, will also attempt to acquire symbols. The debuginfod plugin defaults to the DEGUFINFOD_URLS environment variable which is configurable through the 'plugin.symbol-locator.debuginfod.server_urls' setting.">;
-  def EnableBackgroundLookup: Property<"enable-background-lookup", "Boolean">,
----------------
JDevlieghere wrote:

I was on the fence, as I've been encouraging users to use  `settings set symbols.enable-background-lookup true` in their `.lldbinit` (because older versions don't know about the setting either). On the other hand it's very little work to keep the old setting working, so why not. I've pushed a commit that makes the old setting an alias. 

https://github.com/llvm/llvm-project/pull/80890


More information about the lldb-commits mailing list