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

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 25 11:31:29 PDT 2025


bulbazord wrote:

I'm similarly confused about how moving these method definitions into a separate CU makes a difference. +1 to Jonas's suggestion, properly refactoring Module to use language plugins.

For reference, I attempted this a few years ago (albeit on Apple's swift fork) and had trouble getting it working. You can take a look at my attempt here: https://github.com/swiftlang/llvm-project/pull/3240

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


More information about the lldb-commits mailing list