[PATCH] D70524: Support DebugInfo generation for auto return type for C++ functions.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 13 02:02:51 PST 2020
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
More information about the cfe-commits
mailing list