For the "build ID" method of having separate debug info, is ${debug-file-directory}/.build-id/ab/cdef1234.debug is the only location where the debug info is searched for. Even with the possibility to have several locations in debug-file-directory this is difficult to handle as one needs to know in advance (a superset of) the set of shared objects that will be loaded. It would be nice if the build ID method would take the same locations as the debug-link based variant (which does not scale well to large files due to the crc computation).