ZequanWu wrote:

> does this cause multiple (an open ended amount?) of declarations for a type 
> to be created if the type declarations from multiple CUs are encountered 
> separately? Or still only one due to the extra map?

This only creates one even if type declarations are from different CUs. The 
definition DIE lookup mechanism is the same as before, via manual index, which 
is able to search cross CUs. We check if a type is created before using the 
`UniqueDWARFASTTypeMap` as before: For C++, unique type is identified by full 
qualified name + byte size. For other languages, it's base name + byte size + 
declaration location.

https://github.com/llvm/llvm-project/pull/90663
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to