New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fuzz] Assertion `DD && "queried property of class with no definition"' failed. #22241
Comments
I see this assertion with the recent clang/llvm/lldb (while gdb works fine):
(gdb) bt |
Looks like CodeGen doesn't run on this invalid AST anymore. Doesn't crash on this input. |
mentioned in issue #23431 |
Extended Description
Fuzzing discovered that the attached test case, when given as input to
clang -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm
causes this assertion failure:
clang-3.6: tools/clang/include/clang/AST/DeclCXX.h:592: struct DefinitionData &clang::CXXRecordDecl::data() const: Assertion `DD && "queried property of class with no definition"' failed.
The text was updated successfully, but these errors were encountered: