clayborg added a comment.
For DWZ files, it seems types can be contained in external DWARF files and are
referred to using new forms. The right way to fix this in LLDB it to load each
of these external files as a separate DWZ file (no changes needed to anything)
and then teach the SymbolFileDWARF that refers to these files to import the
types. If we have 24 shared libraries that use a single DWZ, we shouldn't be
loading it more than once and inlining the DWARF, we should be using the AST
importer to import the type from that file into the AST for the current DWARF
file. We do have done this with -gmodules already, so DWZ shouldn't be that
different. Let me know if I am missing anything.
lldb-commits mailing list