[PATCH] D89318: [ASTImporter] Fix crash caused by unset AttributeSpellingListIndex
Dave Lee via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 14 16:17:56 PDT 2020
kastiglione added a comment.
@martong here's a partial backtrace:
3: LLDB`llvm::llvm_unreachable_internal(char const*, char const*, unsigned int)
4: LLDB`clang::AttributeCommonInfo::calculateAttributeSpellingListIndex() const
5: LLDB`clang::ASTImporter::Import(clang::Attr const*)
6: LLDB`llvm::Expected<clang::Attr*> clang::ASTNodeImporter::import<clang::Attr>(clang::Attr*)
7: LLDB`clang::ASTNodeImporter::InitializeImportedDecl(clang::Decl*, clang::Decl*)
8: LLDB`bool clang::ASTNodeImporter::GetImportedOrCreateSpecialDecl<clang::FunctionDecl, clang::ASTNodeImporter::CallOverloadedCreateFun<clang::FunctionDecl>, clang::FunctionDecl, clang::ASTContext&, clang::DeclContext*&, clang::SourceLocation&, clang::DeclarationNameInfo&, clang::QualType&, clang::TypeSourceInfo*&, clang::StorageClass, bool, bool, clang::ConstexprSpecKind, clang::Expr*&>(clang::FunctionDecl*&, clang::ASTNodeImporter::CallOverloadedCreateFun<clang::FunctionDecl>, clang::FunctionDecl*, clang::ASTContext&, clang::DeclContext*&, clang::SourceLocation&, clang::DeclarationNameInfo&, clang::QualType&, clang::TypeSourceInfo*&, clang::StorageClass&&, bool&&, bool&&, clang::ConstexprSpecKind&&, clang::Expr*&)
9: LLDB`clang::ASTNodeImporter::VisitFunctionDecl(clang::FunctionDecl*)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89318/new/
https://reviews.llvm.org/D89318
More information about the cfe-commits
mailing list