[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
Wed Mar 26 07:37:12 PDT 2025


slydiman wrote:

> I don't see a reason for an function-local static to be a gc root.

I don't know how to check it. lld has parameters `--why-extract=<file>` and `--print-gc-sections`, but they are useless for this investigation. 
Maybe lambdas become gc roots?

Anyway, how will this affect the acceptance of this patch?
Or do you prefer to finish https://github.com/swiftlang/llvm-project/pull/3240 instead?

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


More information about the lldb-commits mailing list