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

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 1 17:43:52 PDT 2023


clayborg wrote:

> I would like to see a new setting added to lldb that should be the default way to enable the debuginfod support. Just adding something to `lldb/source/Target/TargetProperties.td` like:
> 
> ```
>   def DebuginfodURLs: Property<"debuginfod-urls", "Args">,
>     DefaultStringValue<"">,
>     Desc<"A list of debuginfod URLs that will be linearly called to search for debug info.">;
> ```
> 
> Doesn't need to live in "target.*" though.

If this was added in target, then we could do:
```
(lldb) settings set target.debuginfod-urls http://url1 http://url2 http://url3
```

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


More information about the lldb-commits mailing list