[llvm-bugs] [Bug 39633] New: Crash due to unlimited recursion in template handling

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 12 01:32:37 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=39633

            Bug ID: 39633
           Summary: Crash due to unlimited recursion in template handling
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: abramo.bagnara at bugseng.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

$ cat q.cc
template <int i> struct A { int a ; };
//auto recursive(A< 0 > ) -> A< 0 >;
template <int i> auto r(A<i>) {
  A<i - 1> var;
  return r(var);
}
void m() {
  A<2> X;
  decltype(r(X)) p;
}
$ clang-8 -c q.cc
Stack dump:
0.      Program arguments: /usr/lib/llvm-8/bin/clang -cc1 -triple
x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier
-discard-value-names -main-file-name q.cc -mrelocation-model static
-mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64
-dwarf-column-info -debugger-tuning=gdb -coverage-notes-file
/home/abramo/bug/q.gcno -resource-dir /usr/lib/llvm-8/lib/clang/8.0.0
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/x86_64-linux-gnu/c++/7.3.0
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/x86_64-linux-gnu/c++/7.3.0
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0/../../../../include/c++/7.3.0/backward
-internal-isystem /usr/include/clang/8.0.0/include/ -internal-isystem
/usr/local/include -internal-isystem /usr/lib/llvm-8/lib/clang/8.0.0/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-fdeprecated-macro -fdebug-compilation-dir /home/abramo/bug -ferror-limit 19
-fmessage-length 80 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o q.o -x c++ q.cc -faddrsig 
1.      q.cc:9:15: current parser token ')'
2.      q.cc:7:10: parsing function body 'm'
3.      q.cc:7:10: in compound statement ('{}')
4.      q.cc:3:23: instantiating function definition 'r<2>'
5.      q.cc:3:23: instantiating function definition 'r<1>'
6.      q.cc:3:23: instantiating function definition 'r<0>'
...
#0 0x00007f5b5352e39a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/lib/llvm-8/bin/../lib/libLLVM-8.so.1+0x9a039a)
#1 0x00007f5b5352ca44 llvm::sys::RunSignalHandlers()
(/usr/lib/llvm-8/bin/../lib/libLLVM-8.so.1+0x99ea44)
#2 0x00007f5b5352cb82 (/usr/lib/llvm-8/bin/../lib/libLLVM-8.so.1+0x99eb82)
#3 0x00007f5b56cc3890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x0000555e4fb0f20a clang::Sema::CheckTemplateArgument(clang::NamedDecl*,
clang::TemplateArgumentLoc&, clang::NamedDecl*, clang::SourceLocation,
clang::SourceLocation, unsigned int,
llvm::SmallVectorImpl<clang::TemplateArgument>&,
clang::Sema::CheckTemplateArgumentKind) (/usr/lib/llvm-8/bin/clang+0x185a20a)
#5 0x0000555e4fb15406
clang::Sema::CheckTemplateArgumentList(clang::TemplateDecl*,
clang::SourceLocation, clang::TemplateArgumentListInfo&, bool,
llvm::SmallVectorImpl<clang::TemplateArgument>&, bool)
(/usr/lib/llvm-8/bin/clang+0x1860406)
#6 0x0000555e4fb16206 clang::Sema::CheckTemplateIdType(clang::TemplateName,
clang::SourceLocation, clang::TemplateArgumentListInfo&)
(/usr/lib/llvm-8/bin/clang+0x1861206)
#7 0x0000555e4fbc9ced (/usr/lib/llvm-8/bin/clang+0x1914ced)
#8 0x0000555e4fbc0ca0 (/usr/lib/llvm-8/bin/clang+0x190bca0)
#9 0x0000555e4fbc2b1b (/usr/lib/llvm-8/bin/clang+0x190db1b)
#10 0x0000555e4fbcb21f clang::Sema::SubstType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName, bool) (/usr/lib/llvm-8/bin/clang+0x191621f)
#11 0x0000555e4fbb4322 clang::Sema::SubstParmVarDecl(clang::ParmVarDecl*,
clang::MultiLevelTemplateArgumentList const&, int, llvm::Optional<unsigned
int>, bool) (/usr/lib/llvm-8/bin/clang+0x18ff322)
#12 0x0000555e4fbb5083 (/usr/lib/llvm-8/bin/clang+0x1900083)
#13 0x0000555e4fbd8433
clang::Sema::SubstFunctionDeclType(clang::TypeSourceInfo*,
clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation,
clang::DeclarationName, clang::CXXRecordDecl*, unsigned int)
(/usr/lib/llvm-8/bin/clang+0x1923433)
#14 0x0000555e4fbdbb42 clang::TemplateDeclInstantiator::VisitDecl(clang::Decl*)
(/usr/lib/llvm-8/bin/clang+0x1926b42)
#15 0x0000555e4fbe85c7
clang::TemplateDeclInstantiator::VisitFunctionDecl(clang::FunctionDecl*,
clang::TemplateParameterList*) (/usr/lib/llvm-8/bin/clang+0x19335c7)
#16 0x0000555e4fbe9f3d clang::Sema::SubstDecl(clang::Decl*,
clang::DeclContext*, clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1934f3d)
#17 0x0000555e4fba4773
clang::Sema::FinishTemplateArgumentDeduction(clang::FunctionTemplateDecl*,
llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&, unsigned int,
clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&,
llvm::SmallVectorImpl<clang::Sema::OriginalCallArg> const*, bool,
llvm::function_ref<bool ()>) (/usr/lib/llvm-8/bin/clang+0x18ef773)
#18 0x0000555e4fba8c73
clang::Sema::DeduceTemplateArguments(clang::FunctionTemplateDecl*,
clang::TemplateArgumentListInfo*, llvm::ArrayRef<clang::Expr*>,
clang::FunctionDecl*&, clang::sema::TemplateDeductionInfo&, bool,
llvm::function_ref<bool (llvm::ArrayRef<clang::QualType>)>)
(/usr/lib/llvm-8/bin/clang+0x18f3c73)
#19 0x0000555e4fa9d81f
clang::Sema::AddTemplateOverloadCandidate(clang::FunctionTemplateDecl*,
clang::DeclAccessPair, clang::TemplateArgumentListInfo*,
llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool, bool)
(/usr/lib/llvm-8/bin/clang+0x17e881f)
#20 0x0000555e4fa9eaa9 (/usr/lib/llvm-8/bin/clang+0x17e9aa9)
#21 0x0000555e4fa9fe24
clang::Sema::AddOverloadedCallCandidates(clang::UnresolvedLookupExpr*,
llvm::ArrayRef<clang::Expr*>, clang::OverloadCandidateSet&, bool)
(/usr/lib/llvm-8/bin/clang+0x17eae24)
#22 0x0000555e4faa000a clang::Sema::buildOverloadedCallSet(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation,
clang::OverloadCandidateSet*, clang::ActionResult<clang::Expr*, true>*)
(/usr/lib/llvm-8/bin/clang+0x17eb00a)
#23 0x0000555e4faa967e clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f467e)
#24 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#25 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#26 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#27 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#28 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#29 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#30 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#31 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#32 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#33 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#34 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#35 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#36 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#37 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#38 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#39 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#40 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#41 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#42 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#43 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#44 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#45 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#46 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#47 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#48 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#49 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#50 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#51 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#52 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#53 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#54 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#55 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#56 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#57 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#58 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#59 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#60 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#61 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#62 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#63 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#64 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#65 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#66 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#67 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#68 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#69 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#70 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#71 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#72 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#73 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#74 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#75 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#76 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#77 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#78 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#79 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#80 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#81 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#82 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#83 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#84 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#85 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#86 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#87 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#88 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#89 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#90 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#91 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#92 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#93 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#94 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#95 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#96 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#97 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#98 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#99 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#100 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#101 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#102 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#103 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#104 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#105 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#106 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#107 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#108 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#109 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#110 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#111 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#112 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#113 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#114 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#115 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#116 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#117 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#118 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#119 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#120 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#121 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#122 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#123 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#124 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#125 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#126 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#127 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#128 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#129 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#130 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#131 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#132 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#133 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#134 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#135 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#136 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#137 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#138 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#139 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#140 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#141 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#142 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#143 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#144 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#145 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#146 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#147 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#148 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#149 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#150 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#151 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#152 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#153 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#154 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#155 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#156 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#157 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#158 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#159 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#160 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#161 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#162 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#163 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#164 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#165 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#166 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#167 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#168 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#169 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#170 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#171 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#172 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#173 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#174 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#175 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#176 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#177 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#178 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#179 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#180 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#181 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#182 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#183 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#184 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#185 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#186 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#187 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#188 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#189 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#190 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#191 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#192 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#193 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#194 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#195 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#196 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#197 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#198 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#199 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#200 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#201 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#202 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#203 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#204 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#205 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#206 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#207 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#208 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#209 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#210 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#211 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#212 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#213 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#214 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#215 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#216 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#217 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#218 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#219 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#220 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#221 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#222 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#223 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#224 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#225 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#226 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#227 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#228 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#229 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#230 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#231 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#232 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#233 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#234 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#235 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#236 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#237 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#238 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#239 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#240 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#241 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#242 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#243 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
#244 0x0000555e4fbb9b97 (/usr/lib/llvm-8/bin/clang+0x1904b97)
#245 0x0000555e4fbd1898 (/usr/lib/llvm-8/bin/clang+0x191c898)
#246 0x0000555e4fbd5418 clang::Sema::SubstStmt(clang::Stmt*,
clang::MultiLevelTemplateArgumentList const&)
(/usr/lib/llvm-8/bin/clang+0x1920418)
#247 0x0000555e4fbec558
clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation,
clang::FunctionDecl*, bool, bool, bool) (/usr/lib/llvm-8/bin/clang+0x1937558)
#248 0x0000555e4fb7ad79 clang::Sema::DeduceReturnType(clang::FunctionDecl*,
clang::SourceLocation, bool) (/usr/lib/llvm-8/bin/clang+0x18c5d79)
#249 0x0000555e4f900d83 clang::Sema::DiagnoseUseOfDecl(clang::NamedDecl*,
llvm::ArrayRef<clang::SourceLocation>, clang::ObjCInterfaceDecl const*, bool,
bool, clang::ObjCInterfaceDecl*) (/usr/lib/llvm-8/bin/clang+0x164bd83)
#250 0x0000555e4faa92f6 (/usr/lib/llvm-8/bin/clang+0x17f42f6)
#251 0x0000555e4faa96eb clang::Sema::BuildOverloadedCallExpr(clang::Scope*,
clang::Expr*, clang::UnresolvedLookupExpr*, clang::SourceLocation,
llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::Expr*, bool,
bool) (/usr/lib/llvm-8/bin/clang+0x17f46eb)
#252 0x0000555e4f918f88 clang::Sema::ActOnCallExpr(clang::Scope*, clang::Expr*,
clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>,
clang::SourceLocation, clang::Expr*, bool)
(/usr/lib/llvm-8/bin/clang+0x1663f88)
#253 0x0000555e4fbbd3af (/usr/lib/llvm-8/bin/clang+0x19083af)
#254 0x0000555e4fbb7f1d (/usr/lib/llvm-8/bin/clang+0x1902f1d)
#255 0x0000555e4fbb89cb (/usr/lib/llvm-8/bin/clang+0x19039cb)
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 8.0.0-svn346583-1~exp1+0~20181110081819.613~1.gbp6afd8e (trunk)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: 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: note: diagnostic msg: 
********************

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

********************

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181112/5899f16c/attachment-0001.html>


More information about the llvm-bugs mailing list