slydiman wrote: > Okay, and what are those conditions?
I don't know. Probably code fragmentation within CU or number of references makes the linker to link the entire CU. > someone's compiler/linker Note it is mainline clang/lld. Moving all code used by Module.cpp to a separated module ensures that there is no unused code in the final binary. 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