[clang] [RFC][C++20][Modules] Fix crash when function and lambda inside loaded from different modules (PR #104512)

Dmitry Polukhin via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 6 02:55:20 PDT 2024


Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Kyungwoo Lee <kyulee at meta.com>,Dmitry
 Polukhin <dmitry.polukhin at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/104512 at github.com>


dmpolukhin wrote:

@ChuanqiXu9 please take a look, I had to load lambdas delayed to avoid bad cycles when current function was not fully deserialized yet but lambda inside reference it. Now this change fixes my original issue and doesn't introduce any new crashes on our codebase so it is step forward. Unfortunately it seems that it doesn't fix all lambda related issues but I need to reduce them and fix.

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


More information about the cfe-commits mailing list