[llvm] Add support for verifying .debug_names in split DWARF for CUs and TUs. (PR #101775)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 4 21:54:39 PDT 2024
dwblaikie wrote:
You can check the existing dwo/dwp test coverage (one easy way to find test coverage, is to break the code - like just cause the dwp or dwo lookup code to consistently fail to find the dwo/dwp file) - these days I think we go with yaml or assembly for most tests.
For DWP files that's a bit trickier, since there's no way to generate DWP assembly files - hmm, do you need DWP testing, given this feature (split DWARF .debug_names) is orthogonal to DWP files, maybe it's sufficient to test it with DWO files? (or are there DWP-specific code paths to be tested?)
To test for just DWO files, you could checkin assembly or yaml files, maybe using the new https://llvm.org/docs/TestingGuide.html#elaborated-tests functionality to make it easier to regenerate as needed.
https://github.com/llvm/llvm-project/pull/101775
More information about the llvm-commits
mailing list