Re: [PATCH v4 3/3] Kbuild: implement support for DWARF v5

2021-01-13 Thread Nathan Chancellor
On Tue, Jan 12, 2021 at 04:32:35PM -0800, Nick Desaulniers wrote: > DWARF v5 is the latest standard of the DWARF debug info format. > > Feature detection of DWARF5 is onerous, especially given that we've > removed $(AS), so we must query $(CC) for DWARF5 assembler directive > support. GNU `as` on

[PATCH v4 3/3] Kbuild: implement support for DWARF v5

2021-01-12 Thread Nick Desaulniers
DWARF v5 is the latest standard of the DWARF debug info format. Feature detection of DWARF5 is onerous, especially given that we've removed $(AS), so we must query $(CC) for DWARF5 assembler directive support. GNU `as` only recently gained support for specifying -gdwarf-5. The DWARF version of a