slydiman wrote:

> I'm similarly confused about how moving these method definitions into a 
> separate CU makes a difference.

Please note Module.cpp uses only few functions which have no dependencies. 
After this patch the new CU CPlusPlusLanguageMethod.cpp with only necessary 
functions is linked. The rest CPlusPlusLanguage.cpp is not linked at all.
Module.cpp depends on new CPlusPlusLanguageMethod.cpp but nothing depends on 
updated CPlusPlusLanguage.cpp

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

Reply via email to