Reported on a GNU Hurd build of elfutils. This is a quick fix pending
my more complex patch to reduce dependency on linux perf concepts for
the libdwfl_stacktrace code.
* libdwfl_stacktrace/dwflst_perf_frame.c (perf_sample_regs_abi):
Define this Linux enum on non-Linux platforms.
---
libdwfl_st
Hi Aaron,
On Sun, Sep 07, 2025 at 10:17:29PM -0400, Aaron Merey wrote:
> Within create_dwfl, if dwfl_begin is successful but dwfl_report_offline
> fails, the dwfl * pointer being reported is reset to NULL without calling
> dwfl_end, causing a memory leak.
>
> Update create_dwfl to call dwfl_end i
Hi -
> [...]
> Maybe Aaron's suggestion to use a key/value pairs like API makes sense
> here?
Or a struct containing properly named and **typed** parameters.
(Coercing everything into general key/value is kind of papering over
the compatibility / width / usability problem. Both caller and calle