[PATCH] libdwfl: add dwfl_local_find_debuginfo callback

2021-06-12 Thread Nick Gasson via Elfutils-devel
This patch adds a variant of dwfl_standard_find_debuginfo that only searches the local filesystem and does not fall back to debuginfod. In my application I am using libdw to decode stack traces where some of the loaded DSOs are generated on-the-fly by LLVM. If these don't have debug information I

Re: [PATCH] libdwfl: add dwfl_local_find_debuginfo callback

2021-07-04 Thread Nick Gasson via Elfutils-devel
Hi Mark, On 03/07/21 05:59 am, Mark Wielaard wrote: > > I wonder if we can use the Dwfl_Callbacks debuginfo_path for this > instead of introducing a dwfl_standard_find_debuginfo variant. That > might make things a bit more configurable. > > Something like the following maybe: > > - If the last pat