[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
Tue Mar 25 12:36:45 PDT 2025


slydiman wrote:

@bulbazord 

> swiftlang#3240

Looks good.

> SwiftLanguageRuntime::MethodName::Parse(). Specifically, as it parses a name, there are some codepaths that cause it to think some names are valid swift method names.

It seems one solution might be to sort language plugins.
But I don't see any profit in enumerating language plugins and then sorting known plugins anyway.
It is possible to add a method for requesting a language plugin significance for sorting.
But it looks like unnecessary complication, IMHO.
Probably the hardcoded list of laguage plugins is simple and balanced solution.

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


More information about the lldb-commits mailing list