alcxpr wrote: Naked lambdas now have their captures analyzed and metadata populated even though they cannot be accessed via generated code as naked functions have no prologue This matches GCC's behavior of naked lambdas with captures.
Though, please note that this currently does not handle the case where inline assembly constraints reference captured variables in a naked lambda without breaking LLVM's semantic. GCC accepts this for some reason. [godbolt](https://godbolt.org/z/qoxdTdore). For now, such code will fail with an LLVM verifier crash. https://github.com/llvm/llvm-project/pull/165524 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
