On Wed, Sep 27, 2023 at 03:20:40PM -0400, Frank Ch. Eigler wrote: > Hi - > > > This patch series adds support for DWARF package files to libdw and the > > elfutils tools. It supports the GNU DebugFission format for DWARF 4 [1] > > and the format standardized in DWARF 5 (section 7.3.5 "DWARF Package > > Files"). It supports both automatically opening the .dwp file for a > > skeleton unit and examining the .dwp file alone, just like for .dwo > > files. [...] > > Does this work have any implications for debuginfod?
Until anyone using debuginfod wants to use DWARF package files, not really. The problems that split DWARF solves aren't super relevant to Linux distributions, so I don't expect that will happen any time soon. If that changes, then debuginfod could add a /$build_id/debuginfo.dwp endpoint. Note that dwp files don't contain a build ID note. They are associated with the main debug file only by name. To quote the DWARF 5 standard: "a package file is typically placed in the same directory as the application, and is given the same name with a '.dwp' extension."