efriedma added a comment.

Given that we mark up lambdas with the requirement that the pointer is 
nonnull/noundef/dereferenceable, we can't fix that by just messing with the 
attributes.  Among other things, we could use a definition from a different 
module.

Either we relax the requirements globally for all lambdas, or we fix 
EmitLambdaDelegatingInvokeBody() so it passes a pointer to a proper alloca 
instead of undef.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132275/new/

https://reviews.llvm.org/D132275

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to