Ericsson / clang

Cross Translation Unit analysis capability for Clang Static Analyzer. (Fork of official clang at http://llvm.org/git/clang)
http://clang.llvm.org/
Other
15 stars 10 forks source link

Assertion `First->RedeclLink.isFirst() && "Expected first"' at protobuf analyze #519

Closed balazske closed 5 years ago

balazske commented 6 years ago

The following error happens at protobuf analyze after commit 13b0400 "Continue ASTImporter error handling (#518)":

(venv):~/clang/testproject/protobuf$ CodeChecker analyze --analyzers clangsa --ctu-analyze -o ../../testout/protobuf/reports ../../testout/protobuf/build.log -j4
[INFO 2018-11-08 12:28] - Starting static analysis ...
[INFO 2018-11-08 12:32] - [1/176] clangsa analyzed arenastring.cc successfully.
[INFO 2018-11-08 12:33] - [2/176] clangsa analyzed stringprintf.cc successfully.
[ERROR 2018-11-08 12:35] - Analyzing 'dynamic_message.cc' with clangsa CTU
[ERROR 2018-11-08 12:35] - 

[ERROR 2018-11-08 12:35] - 
ANALYZE (CTU loaded AST for source file): /testout/protobuf/reports/ctu-dir/x86_64/ast/testproject/protobuf/src/google/protobuf/stubs/common.cc
===== ERROR ===== Non equivalent Decls with same name: '__normal_iterator'
ANALYZE (CTU loaded AST for source file): /testout/protobuf/reports/ctu-dir/x86_64/ast/testproject/protobuf/src/google/protobuf/unknown_field_set.cc
===== ERROR ===== Non equivalent Decls with same name: '__normal_iterator'
===== ERROR ===== Non equivalent Decls with same name: '__normal_iterator'
===== ERROR ===== Non equivalent Decls with same name: ''
ANALYZE (CTU loaded AST for source file): /testout/protobuf/reports/ctu-dir/x86_64/ast/testproject/protobuf/src/google/protobuf/stubs/once.cc
ANALYZE (CTU loaded AST for source file): /testout/protobuf/reports/ctu-dir/x86_64/ast/testproject/protobuf/src/google/protobuf/arena.cc
===== ERROR ===== Non equivalent Decls with same name: '__normal_iterator'
ANALYZE (CTU loaded AST for source file): /testout/protobuf/reports/ctu-dir/x86_64/ast/testproject/protobuf/src/google/protobuf/message.cc
===== ERROR ===== Non equivalent Decls with same name: '__normal_iterator'
clang-7: /clang7/llvm/tools/clang/include/clang/AST/Decl.h:4294: void clang::Redeclarable<decl_type>::setPreviousDecl(decl_type*) [with decl_type = clang::TagDecl]: Assertion `First->RedeclLink.isFirst() && "Expected first"' failed.
Stack dump:
0.      Program arguments: /clang7/build_d/bin/clang-7 -cc1 -triple x86_64--linux-gnu -analyze -disable-free -main-file-name dynamic_message.cc -analyzer-store=region -analyzer-opt-analyze-nested-blocks -analyzer-eagerly-assume -analyzer-output plist -w -mrelocation-model pic -pic-level 2 -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -nobuiltininc -resource-dir /clang7/build_d/lib/clang/7.0.0 -isystem /clang7/build_d/lib/clang/7.0.0/include -isystem /usr/include/c++/5 -isystem /usr/include/x86_64-linux-gnu/c++/5 -isystem /usr/include/c++/5/backward -isystem /usr/local/include -isystem /usr/include/x86_64-linux-gnu -isystem /usr/include -D HAVE_CONFIG_H -I /testproject/protobuf/src -I /testproject/protobuf -D HAVE_PTHREAD=1 -D HAVE_ZLIB=1 -D PIC -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/x86_64-linux-gnu/c++/5.4.0 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/backward -internal-isystem /usr/local/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Wno-sign-compare -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /testproject/protobuf/src -ferror-limit 19 -fmessage-length 0 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -analyzer-opt-analyze-headers -analyzer-output=plist-multi-file -analyzer-disable-checker alpha.clone.CloneChecker -analyzer-disable-checker alpha.core.BoolAssignment -analyzer-disable-checker alpha.core.CallAndMessageUnInitRefArg -analyzer-disable-checker alpha.core.CastSize -analyzer-disable-checker alpha.core.CastToStruct -analyzer-disable-checker alpha.core.Conversion -analyzer-disable-checker alpha.core.DynamicTypeChecker -analyzer-disable-checker alpha.core.FixedAddr -analyzer-disable-checker alpha.core.IdenticalExpr -analyzer-disable-checker alpha.core.PointerArithm -analyzer-disable-checker alpha.core.PointerSub -analyzer-disable-checker alpha.core.SizeofPtr -analyzer-disable-checker alpha.core.StackAddressAsyncEscape -analyzer-disable-checker alpha.core.TestAfterDivZero -analyzer-disable-checker alpha.cplusplus.DeleteWithNonVirtualDtor -analyzer-disable-checker alpha.cplusplus.IteratorRange -analyzer-disable-checker alpha.cplusplus.MisusedMovedObject -analyzer-disable-checker alpha.cplusplus.UninitializedObject -analyzer-disable-checker alpha.deadcode.UnreachableCode -analyzer-disable-checker alpha.osx.cocoa.DirectIvarAssignment -analyzer-disable-checker alpha.osx.cocoa.DirectIvarAssignmentForAnnotatedFunctions -analyzer-disable-checker alpha.osx.cocoa.InstanceVariableInvalidation -analyzer-disable-checker alpha.osx.cocoa.MissingInvalidationMethod -analyzer-disable-checker alpha.osx.cocoa.localizability.PluralMisuseChecker -analyzer-disable-checker alpha.security.ArrayBound -analyzer-disable-checker alpha.security.ArrayBoundV2 -analyzer-disable-checker alpha.security.MallocOverflow -analyzer-disable-checker alpha.security.MmapWriteExec -analyzer-disable-checker alpha.security.ReturnPtrRange -analyzer-disable-checker alpha.security.taint.TaintPropagation -analyzer-disable-checker alpha.unix.BlockInCriticalSection -analyzer-disable-checker alpha.unix.Chroot -analyzer-disable-checker alpha.unix.PthreadLock -analyzer-disable-checker alpha.unix.SimpleStream -analyzer-disable-checker alpha.unix.Stream -analyzer-disable-checker alpha.unix.cstring.BufferOverlap -analyzer-disable-checker alpha.unix.cstring.NotNullTerminated -analyzer-disable-checker alpha.unix.cstring.OutOfBounds -analyzer-disable-checker apiModeling.TrustNonnull -analyzer-checker=apiModeling.google.GTest -analyzer-checker=core.CallAndMessage -analyzer-checker=core.DivideZero -analyzer-checker=core.DynamicTypePropagation -analyzer-checker=core.NonNullParamChecker -analyzer-checker=core.NonnilStringConstants -analyzer-checker=core.NullDereference -analyzer-checker=core.StackAddressEscape -analyzer-checker=core.UndefinedBinaryOperatorResult -analyzer-checker=core.VLASize -analyzer-checker=core.builtin.BuiltinFunctions -analyzer-checker=core.builtin.NoReturnFunctions -analyzer-checker=core.uninitialized.ArraySubscript -analyzer-checker=core.uninitialized.Assign -analyzer-checker=core.uninitialized.Branch -analyzer-checker=core.uninitialized.CapturedBlockVariable -analyzer-checker=core.uninitialized.UndefReturn -analyzer-disable-checker cplusplus.InnerPointer -analyzer-checker=cplusplus.NewDelete -analyzer-checker=cplusplus.NewDeleteLeaks -analyzer-checker=cplusplus.SelfAssignment -analyzer-checker=deadcode.DeadStores -analyzer-disable-checker debug.AnalysisOrder -analyzer-disable-checker debug.ConfigDumper -analyzer-disable-checker debug.DumpCFG -analyzer-disable-checker debug.DumpCallGraph -analyzer-disable-checker debug.DumpCalls -analyzer-disable-checker debug.DumpDominators -analyzer-disable-checker debug.DumpLiveVars -analyzer-disable-checker debug.DumpTraversal -analyzer-disable-checker debug.ExprInspection -analyzer-disable-checker debug.Stats -analyzer-disable-checker debug.TaintTest -analyzer-disable-checker debug.ViewCFG -analyzer-disable-checker debug.ViewCallGraph -analyzer-disable-checker debug.ViewExplodedGraph -analyzer-disable-checker llvm.Conventions -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-disable-checker nullability.NullableDereferenced -analyzer-disable-checker nullability.NullablePassedToNonnull -analyzer-disable-checker nullability.NullableReturnedFromNonnull -analyzer-disable-checker optin.cplusplus.VirtualCall -analyzer-disable-checker optin.mpi.MPI-Checker -analyzer-disable-checker optin.osx.cocoa.localizability.EmptyLocalizationContextChecker -analyzer-disable-checker optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-disable-checker optin.performance.GCDAntipattern -analyzer-disable-checker optin.performance.Padding -analyzer-checker=optin.portability.UnixAPI -analyzer-disable-checker osx.API -analyzer-disable-checker osx.NumberObjectConversion -analyzer-disable-checker osx.ObjCProperty -analyzer-disable-checker osx.SecKeychainAPI -analyzer-disable-checker osx.cocoa.AtSync -analyzer-disable-checker osx.cocoa.AutoreleaseWrite -analyzer-disable-checker osx.cocoa.ClassRelease -analyzer-disable-checker osx.cocoa.Dealloc -analyzer-disable-checker osx.cocoa.IncompatibleMethodTypes -analyzer-disable-checker osx.cocoa.Loops -analyzer-disable-checker osx.cocoa.MissingSuperCall -analyzer-disable-checker osx.cocoa.NSAutoreleasePool -analyzer-disable-checker osx.cocoa.NSError -analyzer-disable-checker osx.cocoa.NilArg -analyzer-disable-checker osx.cocoa.NonNilReturnValue -analyzer-disable-checker osx.cocoa.ObjCGenerics -analyzer-disable-checker osx.cocoa.RetainCount -analyzer-disable-checker osx.cocoa.RunLoopAutoreleaseLeak -analyzer-disable-checker osx.cocoa.SelfInit -analyzer-disable-checker osx.cocoa.SuperDealloc -analyzer-disable-checker osx.cocoa.UnusedIvars -analyzer-disable-checker osx.cocoa.VariadicMethodTypes -analyzer-disable-checker osx.coreFoundation.CFError -analyzer-disable-checker osx.coreFoundation.CFNumber -analyzer-disable-checker osx.coreFoundation.CFRetainRelease -analyzer-disable-checker osx.coreFoundation.containers.OutOfBounds -analyzer-disable-checker osx.coreFoundation.containers.PointerSizedValues -analyzer-checker=security.FloatLoopCounter -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-disable-checker security.insecureAPI.bcmp -analyzer-disable-checker security.insecureAPI.bcopy -analyzer-disable-checker security.insecureAPI.bzero -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.rand -analyzer-disable-checker security.insecureAPI.strcpy -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=unix.API -analyzer-checker=unix.Malloc -analyzer-checker=unix.MallocSizeof -analyzer-checker=unix.MismatchedDeallocator -analyzer-checker=unix.StdCLibraryFunctions -analyzer-checker=unix.Vfork -analyzer-checker=unix.cstring.BadSizeArg -analyzer-checker=unix.cstring.NullArg -analyzer-checker=valist.CopyToSelf -analyzer-checker=valist.Uninitialized -analyzer-checker=valist.Unterminated -analyzer-config notes-as-events=true -analyzer-config xtu-dir=/testout/protobuf/reports/ctu-dir/x86_64 -analyzer-config experimental-enable-naive-ctu-analysis=true -analyzer-config ctu-dir=/testout/protobuf/reports/ctu-dir/x86_64 -analyzer-display-ctu-progress -o /testout/protobuf/reports/dynamic_message.cc_40c93df40203ac17c1f23c3c3afec553.plist -x c++ /testproject/protobuf/src/google/protobuf/dynamic_message.cc -faddrsig 
1.      <eof> parser at end of file
2.      While analyzing stack: 
        #0 Calling google::protobuf::DynamicMessageFactory::~DynamicMessageFactory
3.      /testproject/protobuf/src/google/protobuf/dynamic_message.cc:632:1: Error evaluating destructor
#0 0x00007fc6ad87472b llvm::sys::PrintStackTrace(llvm::raw_ostream&) /clang7/llvm/lib/Support/Unix/Signals.inc:490:0
#1 0x00007fc6ad8747be PrintStackTraceSignalHandler(void*) /clang7/llvm/lib/Support/Unix/Signals.inc:554:0
#2 0x00007fc6ad8724cc llvm::sys::RunSignalHandlers() /clang7/llvm/lib/Support/Signals.cpp:67:0
#3 0x00007fc6ad874125 SignalHandler(int) /clang7/llvm/lib/Support/Unix/Signals.inc:353:0
#4 0x00007fc6a9a804b0 (/lib/x86_64-linux-gnu/libc.so.6+0x354b0)
#5 0x00007fc6a9a80428 gsignal /build/glibc-Cl5G7W/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0
#6 0x00007fc6a9a8202a abort /build/glibc-Cl5G7W/glibc-2.23/stdlib/abort.c:91:0
#7 0x00007fc6a9a78bd7 __assert_fail_base /build/glibc-Cl5G7W/glibc-2.23/assert/assert.c:92:0
#8 0x00007fc6a9a78c82 (/lib/x86_64-linux-gnu/libc.so.6+0x2dc82)
#9 0x00007fc6a4bf08a4 clang::Redeclarable<clang::TagDecl>::setPreviousDecl(clang::TagDecl*) /clang7/llvm/tools/clang/include/clang/AST/Decl.h:4295:0
#10 0x00007fc6a4dded4e clang::TagDecl::TagDecl(clang::Decl::Kind, clang::TagTypeKind, clang::ASTContext const&, clang::DeclContext*, clang::SourceLocation, clang::IdentifierInfo*, clang::TagDecl*, clang::SourceLocation) /clang7/llvm/tools/clang/include/clang/AST/Decl.h:3112:0
#11 0x00007fc6a4dd878a clang::RecordDecl::RecordDecl(clang::Decl::Kind, clang::TagTypeKind, clang::ASTContext const&, clang::DeclContext*, clang::SourceLocation, clang::SourceLocation, clang::IdentifierInfo*, clang::RecordDecl*) /clang7/llvm/tools/clang/lib/AST/Decl.cpp:3998:0
#12 0x00007fc6a4e05cb8 clang::CXXRecordDecl::CXXRecordDecl(clang::Decl::Kind, clang::TagTypeKind, clang::ASTContext const&, clang::DeclContext*, clang::SourceLocation, clang::SourceLocation, clang::IdentifierInfo*, clang::CXXRecordDecl*) /clang7/llvm/tools/clang/lib/AST/DeclCXX.cpp:122:0
#13 0x00007fc6a4e05da1 clang::CXXRecordDecl::Create(clang::ASTContext const&, clang::TagTypeKind, clang::DeclContext*, clang::SourceLocation, clang::SourceLocation, clang::IdentifierInfo*, clang::CXXRecordDecl*, bool) /clang7/llvm/tools/clang/lib/AST/DeclCXX.cpp:130:0
#14 0x00007fc6a4ca159e _ZN5clang15ASTNodeImporter23CallOverloadedCreateFunINS_13CXXRecordDeclEEclIIRNS_10ASTContextENS_11TagTypeKindERPNS_11DeclContextERNS_14SourceLocationESC_PNS_14IdentifierInfoEPS2_EEEDTclL_ZNS2_6CreateERKS5_S7_S9_SB_SB_SE_SF_bEspcl7forwardIT_Efp_EEEDpOSI_ /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:209:0
#15 0x00007fc6a4c5b6df bool clang::ASTNodeImporter::GetImportedOrCreateSpecialDecl<clang::CXXRecordDecl, clang::ASTNodeImporter::CallOverloadedCreateFun<clang::CXXRecordDecl>, clang::RecordDecl, clang::ASTContext&, clang::TagTypeKind, clang::DeclContext*&, clang::SourceLocation&, clang::SourceLocation&, clang::IdentifierInfo*, clang::CXXRecordDecl*>(clang::CXXRecordDecl*&, clang::ASTNodeImporter::CallOverloadedCreateFun<clang::CXXRecordDecl>, clang::RecordDecl*, clang::ASTContext&, clang::TagTypeKind&&, clang::DeclContext*&, clang::SourceLocation&, clang::SourceLocation&, clang::IdentifierInfo*&&, clang::CXXRecordDecl*&&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:256:0
#16 0x00007fc6a4bff404 bool clang::ASTNodeImporter::GetImportedOrCreateDecl<clang::CXXRecordDecl, clang::RecordDecl, clang::ASTContext&, clang::TagTypeKind, clang::DeclContext*&, clang::SourceLocation&, clang::SourceLocation&, clang::IdentifierInfo*, clang::CXXRecordDecl*>(clang::CXXRecordDecl*&, clang::RecordDecl*, clang::ASTContext&, clang::TagTypeKind&&, clang::DeclContext*&, clang::SourceLocation&, clang::SourceLocation&, clang::IdentifierInfo*&&, clang::CXXRecordDecl*&&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:227:0
#17 0x00007fc6a4bb0212 clang::ASTNodeImporter::VisitRecordDecl(clang::RecordDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2674:0
#18 0x00007fc6a4c94658 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::VisitCXXRecordDecl(clang::CXXRecordDecl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:251:0
#19 0x00007fc6a4c4906a clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:251:0
#20 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#21 0x00007fc6a4c13c93 llvm::Error clang::ASTNodeImporter::importInto<clang::CXXRecordDecl>(clang::CXXRecordDecl*&, clang::CXXRecordDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:153:0
#22 0x00007fc6a4bbf7b5 clang::ASTNodeImporter::VisitClassTemplateDecl(clang::ClassTemplateDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:4969:0
#23 0x00007fc6a4c48fa6 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:195:0
#24 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#25 0x00007fc6a4c03b5d llvm::Error clang::ASTNodeImporter::importInto<clang::NamedDecl>(clang::NamedDecl*&, clang::NamedDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:153:0
#26 0x00007fc6a4bb5130 clang::ASTNodeImporter::VisitFriendDecl(clang::FriendDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3433:0
#27 0x00007fc6a4c48de6 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:71:0
#28 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#29 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#30 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#31 0x00007fc6a4baad02 clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1841:0
#32 0x00007fc6a4bc0e0b clang::ASTNodeImporter::VisitClassTemplateSpecializationDecl(clang::ClassTemplateSpecializationDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:5189:0
#33 0x00007fc6a4c49086 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:255:0
#34 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#35 0x00007fc6a4bf7b47 llvm::Expected<clang::RecordDecl*> clang::ASTNodeImporter::import<clang::RecordDecl>(clang::RecordDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#36 0x00007fc6a4ba6f9c clang::ASTNodeImporter::VisitRecordType(clang::RecordType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1293:0
#37 0x00007fc6a4c480a6 clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:93:0
#38 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#39 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#40 0x00007fc6a4ba7850 clang::ASTNodeImporter::VisitTemplateSpecializationType(clang::TemplateSpecializationType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1360:0
#41 0x00007fc6a4c4816a clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:100:0
#42 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#43 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#44 0x00007fc6a4c51efc _ZN5clang15ASTNodeImporter9importSeqINS_8QualTypeEEEN4llvm8ExpectedISt5tupleIIT_EEEERKS6_ /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:183:0
#45 0x00007fc6a4bfca8f llvm::Expected<std::tuple<clang::QualType, clang::TypeSourceInfo*, clang::SourceLocation> > clang::ASTNodeImporter::importSeq<clang::QualType, clang::TypeSourceInfo*, clang::SourceLocation>(clang::QualType const&, clang::TypeSourceInfo* const&, clang::SourceLocation const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:196:0
#46 0x00007fc6a4badca0 clang::ASTNodeImporter::VisitTypedefNameDecl(clang::TypedefNameDecl*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2323:0
#47 0x00007fc6a4badfd8 clang::ASTNodeImporter::VisitTypedefDecl(clang::TypedefDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2355:0
#48 0x00007fc6a4c49112 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:303:0
#49 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#50 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#51 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#52 0x00007fc6a4baad02 clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1841:0
#53 0x00007fc6a4bc0e0b clang::ASTNodeImporter::VisitClassTemplateSpecializationDecl(clang::ClassTemplateSpecializationDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:5189:0
#54 0x00007fc6a4c49086 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:255:0
#55 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#56 0x00007fc6a4bf7b47 llvm::Expected<clang::RecordDecl*> clang::ASTNodeImporter::import<clang::RecordDecl>(clang::RecordDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#57 0x00007fc6a4ba6f9c clang::ASTNodeImporter::VisitRecordType(clang::RecordType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1293:0
#58 0x00007fc6a4c480a6 clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:93:0
#59 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#60 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#61 0x00007fc6a4ba7850 clang::ASTNodeImporter::VisitTemplateSpecializationType(clang::TemplateSpecializationType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1360:0
#62 0x00007fc6a4c4816a clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:100:0
#63 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#64 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#65 0x00007fc6a4ba7a5e clang::ASTNodeImporter::VisitElaboratedType(clang::ElaboratedType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1377:0
#66 0x00007fc6a4c480de clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:95:0
#67 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#68 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#69 0x00007fc6a4baa8a7 clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1803:0
#70 0x00007fc6a4bc0e0b clang::ASTNodeImporter::VisitClassTemplateSpecializationDecl(clang::ClassTemplateSpecializationDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:5189:0
#71 0x00007fc6a4c49086 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:255:0
#72 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#73 0x00007fc6a4bf7b47 llvm::Expected<clang::RecordDecl*> clang::ASTNodeImporter::import<clang::RecordDecl>(clang::RecordDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#74 0x00007fc6a4ba6f9c clang::ASTNodeImporter::VisitRecordType(clang::RecordType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1293:0
#75 0x00007fc6a4c480a6 clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:93:0
#76 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#77 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#78 0x00007fc6a4ba7850 clang::ASTNodeImporter::VisitTemplateSpecializationType(clang::TemplateSpecializationType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1360:0
#79 0x00007fc6a4c4816a clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:100:0
#80 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#81 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#82 0x00007fc6a4c51efc _ZN5clang15ASTNodeImporter9importSeqINS_8QualTypeEEEN4llvm8ExpectedISt5tupleIIT_EEEERKS6_ /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:183:0
#83 0x00007fc6a4c3b51f llvm::Expected<std::tuple<clang::QualType, clang::SourceLocation, clang::CXXConstructorDecl*, clang::SourceRange> > clang::ASTNodeImporter::importSeq<clang::QualType, clang::SourceLocation, clang::CXXConstructorDecl*, clang::SourceRange>(clang::QualType const&, clang::SourceLocation const&, clang::CXXConstructorDecl* const&, clang::SourceRange const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:196:0
#84 0x00007fc6a4bcf29b clang::ASTNodeImporter::VisitCXXConstructExpr(clang::CXXConstructExpr*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:6920:0
#85 0x00007fc6a4c4a84e clang::StmtVisitorBase<clang::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Stmt*> >::Visit(clang::Stmt*) /clang7/build_d/tools/clang/include/clang/AST/StmtNodes.inc:213:0
#86 0x00007fc6a4bd703c clang::ASTImporter::Import(clang::Stmt*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7885:0
#87 0x00007fc6a4bd6e6b clang::ASTImporter::Import(clang::Expr*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7867:0
#88 0x00007fc6a4bf315b llvm::Expected<clang::Expr*> clang::ASTNodeImporter::import<clang::Expr>(clang::Expr*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#89 0x00007fc6a4bcf61e clang::ASTNodeImporter::VisitExprWithCleanups(clang::ExprWithCleanups*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:6943:0
#90 0x00007fc6a4c4ad02 clang::StmtVisitorBase<clang::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Stmt*> >::Visit(clang::Stmt*) /clang7/build_d/tools/clang/include/clang/AST/StmtNodes.inc:507:0
#91 0x00007fc6a4bd703c clang::ASTImporter::Import(clang::Stmt*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7885:0
#92 0x00007fc6a4bd6e6b clang::ASTImporter::Import(clang::Expr*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7867:0
#93 0x00007fc6a4bd92ec clang::ASTImporter::Import(clang::CXXCtorInitializer*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:8216:0
#94 0x00007fc6a4ca270b llvm::Expected<clang::CXXCtorInitializer*> clang::ASTNodeImporter::import<clang::CXXCtorInitializer>(clang::CXXCtorInitializer*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#95 0x00007fc6a4c5dd8e llvm::Error clang::ASTNodeImporter::ImportArrayChecked<clang::CXXCtorInitializer**, clang::CXXCtorInitializer**>(clang::CXXCtorInitializer**, clang::CXXCtorInitializer**, clang::CXXCtorInitializer**) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:597:0
#96 0x00007fc6a4c02219 llvm::Error clang::ASTNodeImporter::ImportContainerChecked<llvm::iterator_range<clang::CXXCtorInitializer**>, llvm::SmallVector<clang::CXXCtorInitializer*, 4u> >(llvm::iterator_range<clang::CXXCtorInitializer**> const&, llvm::SmallVector<clang::CXXCtorInitializer*, 4u>&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:613:0
#97 0x00007fc6a4bb33bc clang::ASTNodeImporter::VisitFunctionDecl(clang::FunctionDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3159:0
#98 0x00007fc6a4bb3b3c clang::ASTNodeImporter::VisitCXXMethodDecl(clang::CXXMethodDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3234:0
#99 0x00007fc6a4bb3b90 clang::ASTNodeImporter::VisitCXXConstructorDecl(clang::CXXConstructorDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3238:0
#100 0x00007fc6a4c4929a clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:403:0
#101 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#102 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#103 0x00007fc6a4bb3a1e clang::ASTNodeImporter::VisitFunctionDecl(clang::FunctionDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3225:0
#104 0x00007fc6a4bb3b3c clang::ASTNodeImporter::VisitCXXMethodDecl(clang::CXXMethodDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3234:0
#105 0x00007fc6a4bb3b90 clang::ASTNodeImporter::VisitCXXConstructorDecl(clang::CXXConstructorDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3238:0
#106 0x00007fc6a4c4929a clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:403:0
#107 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#108 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#109 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#110 0x00007fc6a4baad02 clang::ASTNodeImporter::ImportDefinition(clang::RecordDecl*, clang::RecordDecl*, clang::ASTNodeImporter::ImportDefinitionKind) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1841:0
#111 0x00007fc6a4bb0ae0 clang::ASTNodeImporter::VisitRecordDecl(clang::RecordDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2768:0
#112 0x00007fc6a4c94658 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::VisitCXXRecordDecl(clang::CXXRecordDecl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:251:0
#113 0x00007fc6a4c4906a clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:251:0
#114 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#115 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#116 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#117 0x00007fc6a4bad288 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2230:0
#118 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#119 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#120 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#121 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#122 0x00007fc6a4bad288 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2230:0
#123 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#124 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#125 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#126 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#127 0x00007fc6a4bad288 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2230:0
#128 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#129 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#130 0x00007fc6a4bd682d clang::ASTImporter::ImportContext(clang::DeclContext*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7811:0
#131 0x00007fc6a4ba9a77 clang::ASTNodeImporter::ImportDeclContext(clang::Decl*, clang::DeclContext*&, clang::DeclContext*&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1672:0
#132 0x00007fc6a4ba8adb clang::ASTNodeImporter::ImportDeclParts(clang::NamedDecl*, clang::DeclContext*&, clang::DeclContext*&, clang::DeclarationName&, clang::NamedDecl*&, clang::SourceLocation&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1515:0
#133 0x00007fc6a4bacc93 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2165:0
#134 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#135 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#136 0x00007fc6a4bd682d clang::ASTImporter::ImportContext(clang::DeclContext*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7811:0
#137 0x00007fc6a4ba9a77 clang::ASTNodeImporter::ImportDeclContext(clang::Decl*, clang::DeclContext*&, clang::DeclContext*&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1672:0
#138 0x00007fc6a4ba8adb clang::ASTNodeImporter::ImportDeclParts(clang::NamedDecl*, clang::DeclContext*&, clang::DeclContext*&, clang::DeclarationName&, clang::NamedDecl*&, clang::SourceLocation&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1515:0
#139 0x00007fc6a4bacc93 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2165:0
#140 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#141 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#142 0x00007fc6a4bd682d clang::ASTImporter::ImportContext(clang::DeclContext*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7811:0
#143 0x00007fc6a4ba9b06 clang::ASTNodeImporter::ImportDeclContext(clang::Decl*, clang::DeclContext*&, clang::DeclContext*&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1679:0
#144 0x00007fc6a4ba8adb clang::ASTNodeImporter::ImportDeclParts(clang::NamedDecl*, clang::DeclContext*&, clang::DeclContext*&, clang::DeclarationName&, clang::NamedDecl*&, clang::SourceLocation&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1515:0
#145 0x00007fc6a4bb1e78 clang::ASTNodeImporter::VisitFunctionDecl(clang::FunctionDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2961:0
#146 0x00007fc6a4bb3b3c clang::ASTNodeImporter::VisitCXXMethodDecl(clang::CXXMethodDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3234:0
#147 0x00007fc6a4c4927e clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:399:0
#148 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#149 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#150 0x00007fc6a4bb3a1e clang::ASTNodeImporter::VisitFunctionDecl(clang::FunctionDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3225:0
#151 0x00007fc6a4bb3b3c clang::ASTNodeImporter::VisitCXXMethodDecl(clang::CXXMethodDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3234:0
#152 0x00007fc6a4c4927e clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:399:0
#153 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#154 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#155 0x00007fc6a4bb3a1e clang::ASTNodeImporter::VisitFunctionDecl(clang::FunctionDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3225:0
#156 0x00007fc6a4bb3b3c clang::ASTNodeImporter::VisitCXXMethodDecl(clang::CXXMethodDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3234:0
#157 0x00007fc6a4c4927e clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:399:0
#158 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#159 0x00007fc6a4bf96d9 llvm::Expected<clang::CXXMethodDecl*> clang::ASTNodeImporter::import<clang::CXXMethodDecl>(clang::CXXMethodDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#160 0x00007fc6a4bc014b clang::ASTNodeImporter::VisitClassTemplateSpecializationDecl(clang::ClassTemplateSpecializationDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:5070:0
#161 0x00007fc6a4c49086 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:255:0
#162 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#163 0x00007fc6a4bd682d clang::ASTImporter::ImportContext(clang::DeclContext*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7811:0
#164 0x00007fc6a4ba9a77 clang::ASTNodeImporter::ImportDeclContext(clang::Decl*, clang::DeclContext*&, clang::DeclContext*&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1672:0
#165 0x00007fc6a4ba8adb clang::ASTNodeImporter::ImportDeclParts(clang::NamedDecl*, clang::DeclContext*&, clang::DeclContext*&, clang::DeclarationName&, clang::NamedDecl*&, clang::SourceLocation&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1515:0
#166 0x00007fc6a4bb1e78 clang::ASTNodeImporter::VisitFunctionDecl(clang::FunctionDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2961:0
#167 0x00007fc6a4bb3b3c clang::ASTNodeImporter::VisitCXXMethodDecl(clang::CXXMethodDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3234:0
#168 0x00007fc6a4c4927e clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:399:0
#169 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#170 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#171 0x00007fc6a4bb1d6c clang::ASTNodeImporter::VisitFunctionDecl(clang::FunctionDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2951:0
#172 0x00007fc6a4bb3b3c clang::ASTNodeImporter::VisitCXXMethodDecl(clang::CXXMethodDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3234:0
#173 0x00007fc6a4c4927e clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:399:0
#174 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#175 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#176 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#177 0x00007fc6a4bad288 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2230:0
#178 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#179 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#180 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#181 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#182 0x00007fc6a4bad288 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2230:0
#183 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#184 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#185 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#186 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#187 0x00007fc6a4bad288 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2230:0
#188 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#189 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#190 0x00007fc6a4bd682d clang::ASTImporter::ImportContext(clang::DeclContext*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7811:0
#191 0x00007fc6a4ba9a77 clang::ASTNodeImporter::ImportDeclContext(clang::Decl*, clang::DeclContext*&, clang::DeclContext*&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1672:0
#192 0x00007fc6a4ba8adb clang::ASTNodeImporter::ImportDeclParts(clang::NamedDecl*, clang::DeclContext*&, clang::DeclContext*&, clang::DeclarationName&, clang::NamedDecl*&, clang::SourceLocation&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1515:0
#193 0x00007fc6a4bacc93 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2165:0
#194 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#195 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#196 0x00007fc6a4bd682d clang::ASTImporter::ImportContext(clang::DeclContext*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7811:0
#197 0x00007fc6a4ba9a77 clang::ASTNodeImporter::ImportDeclContext(clang::Decl*, clang::DeclContext*&, clang::DeclContext*&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1672:0
#198 0x00007fc6a4ba8adb clang::ASTNodeImporter::ImportDeclParts(clang::NamedDecl*, clang::DeclContext*&, clang::DeclContext*&, clang::DeclarationName&, clang::NamedDecl*&, clang::SourceLocation&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1515:0
#199 0x00007fc6a4bbf393 clang::ASTNodeImporter::VisitClassTemplateDecl(clang::ClassTemplateDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:4922:0
#200 0x00007fc6a4c48fa6 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:195:0
#201 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#202 0x00007fc6a4bd7f21 clang::ASTImporter::Import(clang::TemplateName) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:8041:0
#203 0x00007fc6a4bf3c94 llvm::Expected<clang::TemplateName> clang::ASTNodeImporter::import<clang::TemplateName>(clang::TemplateName const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#204 0x00007fc6a4ba7663 clang::ASTNodeImporter::VisitTemplateSpecializationType(clang::TemplateSpecializationType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1348:0
#205 0x00007fc6a4c4816a clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:100:0
#206 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#207 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#208 0x00007fc6a4ba7a5e clang::ASTNodeImporter::VisitElaboratedType(clang::ElaboratedType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1377:0
#209 0x00007fc6a4c480de clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:95:0
#210 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#211 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#212 0x00007fc6a4ba4ea3 clang::ASTNodeImporter::VisitPointerType(clang::PointerType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:997:0
#213 0x00007fc6a4c47dea clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:64:0
#214 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#215 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#216 0x00007fc6a4ba5e44 clang::ASTNodeImporter::VisitFunctionProtoType(clang::FunctionProtoType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1138:0
#217 0x00007fc6a4c47f72 clang::TypeVisitor<clang::ASTNodeImporter, llvm::Expected<clang::QualType> >::Visit(clang::Type const*) /clang7/llvm/tools/clang/include/clang/AST/TypeNodes.def:81:0
#218 0x00007fc6a4bd5cf8 clang::ASTImporter::Import(clang::QualType) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7682:0
#219 0x00007fc6a4bf3730 llvm::Expected<clang::QualType> clang::ASTNodeImporter::import<clang::QualType>(clang::QualType const&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:177:0
#220 0x00007fc6a4c51efc _ZN5clang15ASTNodeImporter9importSeqINS_8QualTypeEEEN4llvm8ExpectedISt5tupleIIT_EEEERKS6_ /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:183:0
#221 0x00007fc6a4c00bc1 _ZN5clang15ASTNodeImporter9importSeqINS_8QualTypeEIPNS_14TypeSourceInfoENS_14SourceLocationENS_22NestedNameSpecifierLocES5_EEEN4llvm8ExpectedISt5tupleIIT_DpT0_EEEERKSA_DpRKSB_ /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:196:0
#222 0x00007fc6a4bb27a4 clang::ASTNodeImporter::VisitFunctionDecl(clang::FunctionDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3072:0
#223 0x00007fc6a4bb3b3c clang::ASTNodeImporter::VisitCXXMethodDecl(clang::CXXMethodDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3234:0
#224 0x00007fc6a4c4927e clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:399:0
#225 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#226 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#227 0x00007fc6a4bb1d6c clang::ASTNodeImporter::VisitFunctionDecl(clang::FunctionDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2951:0
#228 0x00007fc6a4bb3b3c clang::ASTNodeImporter::VisitCXXMethodDecl(clang::CXXMethodDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:3234:0
#229 0x00007fc6a4c4927e clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:399:0
#230 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#231 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#232 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#233 0x00007fc6a4bad288 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2230:0
#234 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#235 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#236 0x00007fc6a4bf497d llvm::Expected<clang::Decl*> clang::ASTNodeImporter::import<clang::Decl>(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#237 0x00007fc6a4ba94b4 clang::ASTNodeImporter::ImportDeclContext(clang::DeclContext*, bool) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1616:0
#238 0x00007fc6a4bad288 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2230:0
#239 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#240 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#241 0x00007fc6a4bd682d clang::ASTImporter::ImportContext(clang::DeclContext*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7811:0
#242 0x00007fc6a4ba9a77 clang::ASTNodeImporter::ImportDeclContext(clang::Decl*, clang::DeclContext*&, clang::DeclContext*&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1672:0
#243 0x00007fc6a4ba8adb clang::ASTNodeImporter::ImportDeclParts(clang::NamedDecl*, clang::DeclContext*&, clang::DeclContext*&, clang::DeclarationName&, clang::NamedDecl*&, clang::SourceLocation&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1515:0
#244 0x00007fc6a4bacc93 clang::ASTNodeImporter::VisitNamespaceDecl(clang::NamespaceDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2165:0
#245 0x00007fc6a4c48e72 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:105:0
#246 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#247 0x00007fc6a4bd682d clang::ASTImporter::ImportContext(clang::DeclContext*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7811:0
#248 0x00007fc6a4ba9a77 clang::ASTNodeImporter::ImportDeclContext(clang::Decl*, clang::DeclContext*&, clang::DeclContext*&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1672:0
#249 0x00007fc6a4ba8adb clang::ASTNodeImporter::ImportDeclParts(clang::NamedDecl*, clang::DeclContext*&, clang::DeclContext*&, clang::DeclarationName&, clang::NamedDecl*&, clang::SourceLocation&) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1515:0
#250 0x00007fc6a4baf523 clang::ASTNodeImporter::VisitRecordDecl(clang::RecordDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:2554:0
#251 0x00007fc6a4c94658 clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::VisitCXXRecordDecl(clang::CXXRecordDecl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:251:0
#252 0x00007fc6a4c4906a clang::declvisitor::Base<clang::declvisitor::make_ptr, clang::ASTNodeImporter, llvm::Expected<clang::Decl*> >::Visit(clang::Decl*) /clang7/build_d/tools/clang/include/clang/AST/DeclNodes.inc:251:0
#253 0x00007fc6a4bd63df clang::ASTImporter::Import(clang::Decl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:7755:0
#254 0x00007fc6a4bf7b47 llvm::Expected<clang::RecordDecl*> clang::ASTNodeImporter::import<clang::RecordDecl>(clang::RecordDecl*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:163:0
#255 0x00007fc6a4ba6f9c clang::ASTNodeImporter::VisitRecordType(clang::RecordType const*) /clang7/llvm/tools/clang/lib/AST/ASTImporter.cpp:1293:0
clang-7: error: unable to execute command: Aborted (core dumped)
clang-7: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 7.0.0 (git@github.com:balazske/clang.git 2b1c8bc7b18ccc42435291369e8f5885c6d19ca2) (https://git.llvm.org/git/llvm.git/ 65ce2e56889af84e8be8e311f484a4dfe4b62d7a)
Target: x86_64--linux-gnu
Thread model: posix
InstalledDir: /clang7/build_d/bin
clang-7: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
clang-7: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-7: note: diagnostic msg: /tmp/dynamic_message-62694f.cpp
clang-7: note: diagnostic msg: /tmp/dynamic_message-62694f.sh
clang-7: note: diagnostic msg: 

********************
balazske commented 6 years ago

What can cause such error message?

[ERROR 2018-11-09 10:02] - Analyzing 'json_objectwriter.cc' with clangsa CTU
[ERROR 2018-11-09 10:02] - 

[ERROR 2018-11-09 10:02] - 
balazske commented 6 years ago

This problem seems to be fixed by #520. Observations: When running the same analysis command (0. line of stack dump above) the reported errors and warnings (and analysis sequence) are often different. The crash occurs in some of the cases (at most 1 out of 10).

gamesh411 commented 6 years ago

Hi, I am currently familiarizing myself with the inner structure of CTU, so bear with my possibly stupid questions. Is the most recent Decl in this context not deterministic, and guaranteed to be the same over multiple runs?

balazske commented 6 years ago

If everything happens in the same sequence the most recent decl should be the same too. The FoundRecord may be different: The FoundDecls is a SmallPtrSet (currently, returned from ASTImporterLookupTable) where the order of iteration is unspecified so FoundRecord can be non-deterministic. (It depends on the memory address?) The most recent decl must be the same for any element of FoundDecls, if there is no decl chain related bug.

gamesh411 commented 6 years ago

Thanks, this explanation makes the fix clear to me.

martong commented 5 years ago

Fixed.