sammccall added a comment.
Following crashes for me with `clang++ -g2`:
struct Thing {
void crash(Thing &Other) {
auto Lambda = [&] {
Other.external();
};
Lambda();
}
void external();
};
void test(Thing &A, Thing &B) {
A.crash(B);
}
Haven't yet verified that it's this commit, but certainly looks related. Will
revert once this is confirmed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70524/new/
https://reviews.llvm.org/D70524
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits