[Lldb-commits] [lldb] Add more ways to find the .dwp file. (PR #81067)

David Blaikie via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 8 16:57:54 PST 2024


dwblaikie wrote:

> If the DWO ID is just a hash of the file path or something that isn't guaranteed to be unique with each new build, then we need the UUID in the .dwp file.

Nah, the DWO ID, as per spec, is a semantic hash of the DWARF contents. It should change, generally, if any part of the DWARF changes. https://github.com/llvm/llvm-project/blob/1d4fc381d3da4317cc2cfa59b2d59d53decddf71/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp#L399


https://github.com/llvm/llvm-project/pull/81067


More information about the lldb-commits mailing list