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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to