[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 03:15:30 PDT 2025


slydiman wrote:

> What kind of a build (OS, compiler, etc.) is this exactly?

I used the latest clang from mainline on Windows x86 and Linux x86 hosts. lldb-server is built for Linux Aarch64.
As I mentioned here https://github.com/llvm/llvm-project/issues/129543#issuecomment-2734280226
lldb-server does not depend on the plugin TypeSystemClang and clang code, but it is linked. The size of the binary will be reduced if TypeSystemClang.cpp is just empty. And there is no any link errors. Actually it is enough to move out only the one static helper `CPlusPlusLanguage::IsCPPMangledName()` but I have moved all code used by Module.cpp to be sure.

https://github.com/llvm/llvm-project/pull/132274


More information about the lldb-commits mailing list