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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to