Re: [PATCH v3 03/20] tools: Add gendwarfksyms

2024-10-01 Thread Sami Tolvanen
Hi Petr, On Tue, Oct 1, 2024 at 2:04 PM Petr Pavlu wrote: > > On 9/23/24 20:18, Sami Tolvanen wrote: > > + if (dwfl_getmodules(dwfl, &process_module, NULL, 0)) { > > + error("dwfl_getmodules failed for '%s'", argv[n]); > > + return -1; > > +

Re: [PATCH v3 03/20] tools: Add gendwarfksyms

2024-10-01 Thread Petr Pavlu
On 9/23/24 20:18, Sami Tolvanen wrote: > Add a basic DWARF parser, which uses libdw to traverse the debugging > information in an object file and looks for functions and variables. > In follow-up patches, this will be expanded to produce symbol versions > for CONFIG_MODVERSIONS from DWARF. > > Sig