[Lldb-commits] [lldb] Fix debug info size statistics for split dwarf (PR #77671)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 10 16:53:17 PST 2024
clayborg wrote:
> > Looks good, need to add tests for:
> >
> > * split dwarf with .dwo files
> > * split dwarf with .dwp file
>
> @clayborg, do you have suggestion regarding how to test `GetDebugInfoSize()` for dwo/dwp?
yes, for either we just add up the size of any debug info sections for the total and then make sure the right totals show up for the .dwo case or .dwp case. Both .dwo and .dwp look very similar, where the .dwp file just has a few more sections (the CU/TU index). And it would be good to verify we count all of the right sections.
https://github.com/llvm/llvm-project/pull/77671
More information about the lldb-commits
mailing list