Generate DWARF Version 5 debuginfo
configname: CONFIG_DEBUG_INFO_DWARF5
Debug information
└─>Generate DWARF Version 5 debuginfo
In linux kernel since version 4.14.326 (release Date: 2023-09-23)
Generate DWARF v5 debug info. Requires binutils 2.35.2, gcc 5.0+ (gcc
5.0+ accepts the -gdwarf-5 flag but only had partial support for some
draft features until 7.0), and gdb 8.0+.
Changes to the structure of debug info in Version 5 allow for around
15-18% savings in resulting image and debug info section sizes as
compared to DWARF Version 4. DWARF Version 5 standardizes previous
extensions such as accelerators for symbol indexing and the format
for fission (.dwo/.dwp) files. Users may not want to select this
config if they rely on tooling that has not yet been updated to
support DWARF Version 5.
5.0+ accepts the -gdwarf-5 flag but only had partial support for some
draft features until 7.0), and gdb 8.0+.
Changes to the structure of debug info in Version 5 allow for around
15-18% savings in resulting image and debug info section sizes as
compared to DWARF Version 4. DWARF Version 5 standardizes previous
extensions such as accelerators for symbol indexing and the format
for fission (.dwo/.dwp) files. Users may not want to select this
config if they rely on tooling that has not yet been updated to
support DWARF Version 5.
depends
NOT CONFIG_ARCH_HAS_BROKEN_DWARF5CONFIG_AS_IS_LLVM or NOT CONFIG_CC_IS_CLANG or CONFIG_AS_HAS_NON_CONST_ULEB128
CONFIG_AS_IS_GNU
CONFIG_AS_VERSION=CONFIG_23502