[Lldb-commits] [llvm] [lldb] DEBUGINFOD based DWP acquisition for LLDB (PR #70996)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 16 16:07:14 PST 2023


================
@@ -46,6 +46,10 @@ bool canUseDebuginfod();
 /// environment variable.
 SmallVector<StringRef> getDefaultDebuginfodUrls();
 
+/// Sets the list of debuginfod server URLs to query. This overrides the
+/// environment variable DEBUGINFOD_URLS.
+void setDefaultDebuginfodUrls(SmallVector<StringRef> URLs);
----------------
clayborg wrote:

pass in a const reference to avoid copying on calling this?:
```
void setDefaultDebuginfodUrls(const SmallVector<StringRef> &URLs);
```

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


More information about the lldb-commits mailing list