Re: [PATCH v2 04/19] gendwarfksyms: Add support for type pointers

2024-08-28 Thread Sami Tolvanen
On Wed, Aug 28, 2024 at 04:15:03PM +0900, Masahiro Yamada wrote: > On Wed, Aug 28, 2024 at 3:50 PM Masahiro Yamada wrote: > > > > On Fri, Aug 16, 2024 at 2:39 AM Sami Tolvanen > > wrote: > > > > > > The compiler may choose not to emit type information in DWARF for > > > external symbols. Clang,

Re: [PATCH v2 04/19] gendwarfksyms: Add support for type pointers

2024-08-28 Thread Masahiro Yamada
On Wed, Aug 28, 2024 at 3:50 PM Masahiro Yamada wrote: > > On Fri, Aug 16, 2024 at 2:39 AM Sami Tolvanen wrote: > > > > The compiler may choose not to emit type information in DWARF for > > external symbols. Clang, for example, does this for symbols not > > defined in the current TU. > > > > To p

Re: [PATCH v2 04/19] gendwarfksyms: Add support for type pointers

2024-08-27 Thread Masahiro Yamada
On Fri, Aug 16, 2024 at 2:39 AM Sami Tolvanen wrote: > > The compiler may choose not to emit type information in DWARF for > external symbols. Clang, for example, does this for symbols not > defined in the current TU. > > To provide a way to work around this issue, add support for > __gendwarfksym

[PATCH v2 04/19] gendwarfksyms: Add support for type pointers

2024-08-15 Thread Sami Tolvanen
The compiler may choose not to emit type information in DWARF for external symbols. Clang, for example, does this for symbols not defined in the current TU. To provide a way to work around this issue, add support for __gendwarfksyms_ptr_ pointers that force the compiler to emit the necessary type