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

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 6 19:56:20 PST 2024


================
@@ -47,6 +47,26 @@ class UUID;
 class VariableList;
 struct ModuleFunctionSearchOptions;
 
+static constexpr OptionEnumValueElement g_download_enum_values[] = {
+    {
+        lldb::eSymbolDownloadOff,
+        "off",
+        "Disable downloading symbols.",
+    },
+    {
+        lldb::eSymbolDownloadBackground,
+        "background",
+        "Download symbols in the background for images as they appear in the "
+        "backtrace.",
----------------
clayborg wrote:

Is this truly only for backtraces? Wouldn't an address lookup in a binary also qualify as a way to force debug info to be loaded?

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


More information about the lldb-commits mailing list