Re: [PATCH v4 12/19] gendwarfksyms: Add symtypes output

2024-10-17 Thread Sami Tolvanen
Hi Petr, On Thu, Oct 17, 2024 at 7:13 AM Petr Pavlu wrote: > > On 10/8/24 20:38, Sami Tolvanen wrote: > > + if (symtypes_file) { > > + symfile = fopen(symtypes_file, "w"); > > + > > + if (!symfile) { > > + error("fopen failed for '%s': %s", symtypes

Re: [PATCH v4 12/19] gendwarfksyms: Add symtypes output

2024-10-17 Thread Petr Pavlu
On 10/8/24 20:38, Sami Tolvanen wrote: > Add support for producing genksyms-style symtypes files. Process > die_map to find the longest expansions for each type, and use symtypes > references in type definitions. The basic file format is similar to > genksyms, with two notable exceptions: > > 1.

[PATCH v4 12/19] gendwarfksyms: Add symtypes output

2024-10-08 Thread Sami Tolvanen
Add support for producing genksyms-style symtypes files. Process die_map to find the longest expansions for each type, and use symtypes references in type definitions. The basic file format is similar to genksyms, with two notable exceptions: 1. Type names with spaces (common with Rust) in refer