andreasfertig wrote: Hello @ChuanqiXu9,
> Hi Andreas, thanks for looking into this. I am still confused about whether > or not your new branch can fix the crash or not. It's my pleasure! The new branch doesn't fix the crash. If I understand why it is crashing, this branch is a better change compared to the previous merged code. > For the question about the crash itself, I don't have any insight though, I > feel like this is a defect in the code generator. I didn't understand why > mark a variable as referenced or not by the frontend may affect the code > generation. I'm also struggling with that. As far as I could see, the coroutine part does nothing special for classes. I suspect that some other coroutine-unrelated part does something with the lambda. I also checked whether `I` holds a `getKnownLValue`, but that's not the case either. Do you know who I could ping to get assistance with the CodeGen part? https://github.com/llvm/llvm-project/pull/84193 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits