[Lldb-commits] [lldb] [LLDB][NFC] Move CPlusPlusLanguage methods used in Core/Module.cpp to a separated module to break lldb-server dependencies (PR #132274)

Dmitry Vasilyev via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 21 04:06:12 PDT 2025


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


More information about the lldb-commits mailing list