ayushpareek2003 wrote: According to my understanding, this issue happens because when a standard library header like <fstream> uses a function-local lambda, the compiler generates a closure type for that lambda sometimes this closure type gets added to the debug info without including its captured variables.
when LLDB runs import std and tries to inspect types that indirectly depend on that header (for ex- std::list), it needs the debug info for all these I made CreateLimitedType keep all fields for lambdas, so their captures aren’t skipped by the isImplicit check am I missing something here or am I looking at this from the wrong angle? https://github.com/llvm/llvm-project/pull/149674 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits