[llvm-bugs] [Bug 50994] New: Clang crash when compiling templated noexcept

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 6 07:28:04 PDT 2021


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

            Bug ID: 50994
           Summary: Clang crash when compiling templated noexcept
           Product: clang
           Version: 12.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ovzxemul at gmail.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

Created attachment 25003
  --> https://bugs.llvm.org/attachment.cgi?id=25003&action=edit
The compiler program.

clang-12: error: unable to execute command: Segmentation fault (core dumped)
clang-12: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 12.0.0 (Fedora 12.0.0-2.fc34)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang-12: note: diagnostic msg: 
********************

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

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

# cat /tmp/x-418281.sh
# Crash reproducer for clang version 12.0.0 (Fedora 12.0.0-2.fc34)
# Driver args: "--driver-mode=g++" "x.cc" "-std=c++20" "-lfmt"
# Original command:  "/usr/bin/clang-12" "-cc1" "-triple"
"x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all" "--mrelax-relocations"
"-disable-free" "-disable-llvm-verifier" "-discard-value-names"
"-main-file-name" "x.cc" "-mrelocation-model" "static" "-mframe-pointer=all"
"-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-munwind-tables"
"-target-cpu" "x86-64" "-tune-cpu" "generic" "-fno-split-dwarf-inlining"
"-debugger-tuning=gdb" "-resource-dir" "/usr/lib64/clang/12.0.0"
"-internal-isystem"
"/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11"
"-internal-isystem"
"/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/x86_64-redhat-linux"
"-internal-isystem"
"/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/backward"
"-internal-isystem" "/usr/local/include" "-internal-isystem"
"/usr/lib64/clang/12.0.0/include" "-internal-externc-isystem" "/include"
"-internal-externc-isystem" "/usr/include" "-std=c++20" "-fdeprecated-macro"
"-fdebug-compilation-dir" "/home/src" "-ferror-limit" "19"
"-fgnuc-version=4.2.1" "-fno-implicit-modules" "-fcxx-exceptions"
"-fexceptions" "-fcolor-diagnostics" "-faddrsig" "-o" "/tmp/x-6e7524.o" "-x"
"c++" "x.cc"
 "/usr/bin/clang-12" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj"
"-mrelax-all" "--mrelax-relocations" "-disable-free" "-disable-llvm-verifier"
"-discard-value-names" "-main-file-name" "x.cc" "-mrelocation-model" "static"
"-mframe-pointer=all" "-fmath-errno" "-fno-rounding-math"
"-mconstructor-aliases" "-munwind-tables" "-target-cpu" "x86-64" "-tune-cpu"
"generic" "-fno-split-dwarf-inlining" "-debugger-tuning=gdb" "-std=c++20"
"-fdeprecated-macro" "-ferror-limit" "19" "-fgnuc-version=4.2.1"
"-fno-implicit-modules" "-fcxx-exceptions" "-fexceptions" "-fcolor-diagnostics"
"-faddrsig" "-x" "c++" "x-418281.cpp"




The crash itself:

Stack dump:
0.      Program arguments: /usr/bin/clang-12 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name x.cc
-mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -tune-cpu generic
-fno-split-dwarf-inlining -debugger-tuning=gdb -resource-dir
/usr/lib64/clang/12.0.0 -internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/x86_64-redhat-linux
-internal-isystem
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/lib64/clang/12.0.0/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -std=c++20 -fdeprecated-macro
-fdebug-compilation-dir /home/src -ferror-limit 19 -fgnuc-version=4.2.1
-fno-implicit-modules -fcxx-exceptions -fexceptions -fcolor-diagnostics
-faddrsig -o /tmp/x-6e7524.o -x c++ x.cc
1.      <eof> parser at end of file
2.      x.cc:17:10: instantiating function definition 'caller::call<foo>'
3.     
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/variant:1740:5:
instantiating function definition 'std::visit<(lambda at x.cc:18:20),
std::variant<one, two> &>'
4.     
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/variant:1730:20:
instantiating function definition 'std::__check_visitor_results<(lambda at
x.cc:18:20), std::variant<one, two> &, 0, 1>'
5.     
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/variant:1723:5:
instantiating function definition 'std::__check_visitor_result<1, (lambda at
x.cc:18:20), std::variant<one, two> &>'
6.     
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/type_traits:2482:12:
instantiating class definition 'std::__invoke_result<(lambda at x.cc:18:20),
two &>'
7.     
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/type_traits:2444:12:
instantiating class definition 'std::__result_of_impl<false, false, (lambda at
x.cc:18:20), two &>'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH
or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/lib64/libLLVM-12.so(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamEi+0x36)[0x7f9f7a378216]
/lib64/libLLVM-12.so(_ZN4llvm3sys17RunSignalHandlersEv+0x34)[0x7f9f7a376104]
/lib64/libLLVM-12.so(+0xc03286)[0x7f9f7a376286]
/lib64/libc.so.6(+0x3d320)[0x7f9f793c2320]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema18tryCaptureVariableEPNS_7VarDeclENS_14SourceLocationENS0_14TryCaptureKindES3_bRNS_8QualTypeES6_PKj+0x3f3)[0x7f9f8067fde3]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema21NeedToCaptureVariableEPNS_7VarDeclENS_14SourceLocationE+0x45)[0x7f9f80681d95]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema16BuildDeclRefExprEPNS_9ValueDeclENS_8QualTypeENS_13ExprValueKindERKNS_19DeclarationNameInfoENS_22NestedNameSpecifierLocEPNS_9NamedDeclENS_14SourceLocationEPKNS_24TemplateArgumentListInfoE+0x369)[0x7f9f806866a9]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema16BuildDeclRefExprEPNS_9ValueDeclENS_8QualTypeENS_13ExprValueKindERKNS_19DeclarationNameInfoEPKNS_12CXXScopeSpecEPNS_9NamedDeclENS_14SourceLocationEPKNS_24TemplateArgumentListInfoE+0x50)[0x7f9f80686d40]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema24BuildDeclarationNameExprERKNS_12CXXScopeSpecERKNS_19DeclarationNameInfoEPNS_9NamedDeclES8_PKNS_24TemplateArgumentListInfoEb+0x2ff)[0x7f9f806870ff]
/lib64/libclang-cpp.so.12(+0x174b576)[0x7f9f80a77576]
/lib64/libclang-cpp.so.12(+0x172c4fa)[0x7f9f80a584fa]
/lib64/libclang-cpp.so.12(+0x172deef)[0x7f9f80a59eef]
/lib64/libclang-cpp.so.12(+0x1734129)[0x7f9f80a60129]
/lib64/libclang-cpp.so.12(+0x1733d1a)[0x7f9f80a5fd1a]
/lib64/libclang-cpp.so.12(+0x173aef0)[0x7f9f80a66ef0]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema18SubstExceptionSpecENS_14SourceLocationERNS_17FunctionProtoType17ExceptionSpecInfoERN4llvm15SmallVectorImplINS_8QualTypeEEERKNS_30MultiLevelTemplateArgumentListE+0x5f)[0x7f9f80a671cf]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema18SubstExceptionSpecEPNS_12FunctionDeclEPKNS_17FunctionProtoTypeERKNS_30MultiLevelTemplateArgumentListE+0xca)[0x7f9f80a672da]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema24InstantiateExceptionSpecENS_14SourceLocationEPNS_12FunctionDeclE+0x265)[0x7f9f80a8e3e5]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema20ResolveExceptionSpecENS_14SourceLocationEPKNS_17FunctionProtoTypeE+0x89)[0x7f9f8062a279]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema22MarkFunctionReferencedENS_14SourceLocationEPNS_12FunctionDeclEb+0x54f)[0x7f9f8068534f]
/lib64/libclang-cpp.so.12(+0x135a0f5)[0x7f9f806860f5]
/lib64/libclang-cpp.so.12(+0x15a5f00)[0x7f9f808d1f00]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema28BuildCallToObjectOfClassTypeEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_+0x791)[0x7f9f8090ece1]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13ActOnCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_+0x62)[0x7f9f806bc782]
/lib64/libclang-cpp.so.12(+0x1734197)[0x7f9f80a60197]
/lib64/libclang-cpp.so.12(+0x173729d)[0x7f9f80a6329d]
/lib64/libclang-cpp.so.12(+0x173a498)[0x7f9f80a66498]
/lib64/libclang-cpp.so.12(+0x173cb96)[0x7f9f80a68b96]
/lib64/libclang-cpp.so.12(+0x173e9ba)[0x7f9f80a6a9ba]
/lib64/libclang-cpp.so.12(+0x1737cc7)[0x7f9f80a63cc7]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema21SubstFunctionDeclTypeEPNS_14TypeSourceInfoERKNS_30MultiLevelTemplateArgumentListENS_14SourceLocationENS_15DeclarationNameEPNS_13CXXRecordDeclENS_10QualifiersE+0x624)[0x7f9f80a73c34]
/lib64/libclang-cpp.so.12(_ZN5clang24TemplateDeclInstantiator17SubstFunctionTypeEPNS_12FunctionDeclERN4llvm15SmallVectorImplIPNS_11ParmVarDeclEEE+0xac)[0x7f9f80a87b5c]
/lib64/libclang-cpp.so.12(_ZN5clang24TemplateDeclInstantiator18VisitCXXMethodDeclEPNS_13CXXMethodDeclEPNS_21TemplateParameterListEN4llvm8OptionalIPKNS_27ASTTemplateArgumentListInfoEEENS0_11RewriteKindE+0x1e1)[0x7f9f80a9f6a1]
/lib64/libclang-cpp.so.12(+0x17755b8)[0x7f9f80aa15b8]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27runWithSufficientStackSpaceENS_14SourceLocationEN4llvm12function_refIFvvEEE+0x45)[0x7f9f8038c075]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema9SubstDeclEPNS_4DeclEPNS_11DeclContextERKNS_30MultiLevelTemplateArgumentListE+0xcc)[0x7f9f80a8779c]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema31FinishTemplateArgumentDeductionEPNS_20FunctionTemplateDeclERN4llvm15SmallVectorImplINS_23DeducedTemplateArgumentEEEjRPNS_12FunctionDeclERNS_4sema21TemplateDeductionInfoEPKNS4_INS0_15OriginalCallArgEEEbNS3_12function_refIFbvEEE+0x469)[0x7f9f80a2c929]
/lib64/libclang-cpp.so.12(+0x17019ed)[0x7f9f80a2d9ed]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27runWithSufficientStackSpaceENS_14SourceLocationEN4llvm12function_refIFvvEEE+0x45)[0x7f9f8038c075]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema23DeduceTemplateArgumentsEPNS_20FunctionTemplateDeclEPNS_24TemplateArgumentListInfoEN4llvm8ArrayRefIPNS_4ExprEEERPNS_12FunctionDeclERNS_4sema21TemplateDeductionInfoEbNS5_12function_refIFbNS6_INS_8QualTypeEEEEEE+0xe29)[0x7f9f80a404c9]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema28AddTemplateOverloadCandidateEPNS_20FunctionTemplateDeclENS_14DeclAccessPairEPNS_24TemplateArgumentListInfoEN4llvm8ArrayRefIPNS_4ExprEEERNS_20OverloadCandidateSetEbbbNS_8CallExpr11ADLCallKindENS_27OverloadCandidateParamOrderE+0x295)[0x7f9f808f79f5]
/lib64/libclang-cpp.so.12(+0x15cf051)[0x7f9f808fb051]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27AddOverloadedCallCandidatesEPNS_20UnresolvedLookupExprEN4llvm8ArrayRefIPNS_4ExprEEERNS_20OverloadCandidateSetEb+0x112)[0x7f9f808fbfa2]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema22buildOverloadedCallSetEPNS_5ScopeEPNS_4ExprEPNS_20UnresolvedLookupExprEN4llvm15MutableArrayRefIS4_EENS_14SourceLocationEPNS_20OverloadCandidateSetEPNS_12ActionResultIS4_Lb1EEE+0x11b)[0x7f9f808fc19b]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema23BuildOverloadedCallExprEPNS_5ScopeEPNS_4ExprEPNS_20UnresolvedLookupExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES7_S4_bb+0x19a)[0x7f9f8090774a]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13BuildCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_bb+0x66d)[0x7f9f806bb13d]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13ActOnCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_+0x62)[0x7f9f806bc782]
/lib64/libclang-cpp.so.12(+0x1734197)[0x7f9f80a60197]
/lib64/libclang-cpp.so.12(+0x173729d)[0x7f9f80a6329d]
/lib64/libclang-cpp.so.12(+0x173a498)[0x7f9f80a66498]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema9SubstTypeEPNS_14TypeSourceInfoERKNS_30MultiLevelTemplateArgumentListENS_14SourceLocationENS_15DeclarationNameEb+0x64)[0x7f9f80a6c954]
/lib64/libclang-cpp.so.12(_ZN5clang24TemplateDeclInstantiator26InstantiateTypedefNameDeclEPNS_15TypedefNameDeclEb+0x6e)[0x7f9f80a9bb5e]
/lib64/libclang-cpp.so.12(_ZN5clang24TemplateDeclInstantiator16VisitTypedefDeclEPNS_11TypedefDeclE+0x15)[0x7f9f80a9c145]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema16InstantiateClassENS_14SourceLocationEPNS_13CXXRecordDeclES3_RKNS_30MultiLevelTemplateArgumentListENS_26TemplateSpecializationKindEb+0x5f0)[0x7f9f80a6d6a0]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema38InstantiateClassTemplateSpecializationENS_14SourceLocationEPNS_31ClassTemplateSpecializationDeclENS_26TemplateSpecializationKindEb+0xde)[0x7f9f80a8424e]
/lib64/libclang-cpp.so.12(+0x178f683)[0x7f9f80abb683]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27runWithSufficientStackSpaceENS_14SourceLocationEN4llvm12function_refIFvvEEE+0x45)[0x7f9f8038c075]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema23RequireCompleteTypeImplENS_14SourceLocationENS_8QualTypeENS0_16CompleteTypeKindEPNS0_13TypeDiagnoserE+0x9fa)[0x7f9f80ac2e7a]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema19RequireCompleteTypeENS_14SourceLocationENS_8QualTypeENS0_16CompleteTypeKindERNS0_13TypeDiagnoserE+0x19)[0x7f9f80ac2ea9]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema26RequireCompleteDeclContextERNS_12CXXScopeSpecEPNS_11DeclContextE+0x10b)[0x7f9f803ede2b]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema17CheckTypenameTypeENS_21ElaboratedTypeKeywordENS_14SourceLocationENS_22NestedNameSpecifierLocERKNS_14IdentifierInfoES2_b+0xbc)[0x7f9f8097a6ac]
/lib64/libclang-cpp.so.12(+0x1724eb0)[0x7f9f80a50eb0]
/lib64/libclang-cpp.so.12(+0x17405d1)[0x7f9f80a6c5d1]
/lib64/libclang-cpp.so.12(+0x173a498)[0x7f9f80a66498]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema9SubstTypeEPNS_14TypeSourceInfoERKNS_30MultiLevelTemplateArgumentListENS_14SourceLocationENS_15DeclarationNameEb+0x64)[0x7f9f80a6c954]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema19SubstBaseSpecifiersEPNS_13CXXRecordDeclES2_RKNS_30MultiLevelTemplateArgumentListE+0x2c0)[0x7f9f80a6cc60]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema16InstantiateClassENS_14SourceLocationEPNS_13CXXRecordDeclES3_RKNS_30MultiLevelTemplateArgumentListENS_26TemplateSpecializationKindEb+0x45e)[0x7f9f80a6d50e]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema38InstantiateClassTemplateSpecializationENS_14SourceLocationEPNS_31ClassTemplateSpecializationDeclENS_26TemplateSpecializationKindEb+0xde)[0x7f9f80a8424e]
/lib64/libclang-cpp.so.12(+0x178f683)[0x7f9f80abb683]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27runWithSufficientStackSpaceENS_14SourceLocationEN4llvm12function_refIFvvEEE+0x45)[0x7f9f8038c075]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema23RequireCompleteTypeImplENS_14SourceLocationENS_8QualTypeENS0_16CompleteTypeKindEPNS0_13TypeDiagnoserE+0x9fa)[0x7f9f80ac2e7a]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema19RequireCompleteTypeENS_14SourceLocationENS_8QualTypeENS0_16CompleteTypeKindERNS0_13TypeDiagnoserE+0x19)[0x7f9f80ac2ea9]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema26RequireCompleteDeclContextERNS_12CXXScopeSpecEPNS_11DeclContextE+0x10b)[0x7f9f803ede2b]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema17CheckTypenameTypeENS_21ElaboratedTypeKeywordENS_14SourceLocationENS_22NestedNameSpecifierLocERKNS_14IdentifierInfoES2_b+0xbc)[0x7f9f8097a6ac]
/lib64/libclang-cpp.so.12(+0x1724eb0)[0x7f9f80a50eb0]
/lib64/libclang-cpp.so.12(+0x17405d1)[0x7f9f80a6c5d1]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema21SubstFunctionDeclTypeEPNS_14TypeSourceInfoERKNS_30MultiLevelTemplateArgumentListENS_14SourceLocationENS_15DeclarationNameEPNS_13CXXRecordDeclENS_10QualifiersE+0x624)[0x7f9f80a73c34]
/lib64/libclang-cpp.so.12(_ZN5clang24TemplateDeclInstantiator17SubstFunctionTypeEPNS_12FunctionDeclERN4llvm15SmallVectorImplIPNS_11ParmVarDeclEEE+0xac)[0x7f9f80a87b5c]
/lib64/libclang-cpp.so.12(_ZN5clang24TemplateDeclInstantiator17VisitFunctionDeclEPNS_12FunctionDeclEPNS_21TemplateParameterListENS0_11RewriteKindE+0x19b)[0x7f9f80a9d92b]
/lib64/libclang-cpp.so.12(+0x17755b8)[0x7f9f80aa15b8]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27runWithSufficientStackSpaceENS_14SourceLocationEN4llvm12function_refIFvvEEE+0x45)[0x7f9f8038c075]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema9SubstDeclEPNS_4DeclEPNS_11DeclContextERKNS_30MultiLevelTemplateArgumentListE+0xcc)[0x7f9f80a8779c]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema31FinishTemplateArgumentDeductionEPNS_20FunctionTemplateDeclERN4llvm15SmallVectorImplINS_23DeducedTemplateArgumentEEEjRPNS_12FunctionDeclERNS_4sema21TemplateDeductionInfoEPKNS4_INS0_15OriginalCallArgEEEbNS3_12function_refIFbvEEE+0x469)[0x7f9f80a2c929]
/lib64/libclang-cpp.so.12(+0x17019ed)[0x7f9f80a2d9ed]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27runWithSufficientStackSpaceENS_14SourceLocationEN4llvm12function_refIFvvEEE+0x45)[0x7f9f8038c075]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema23DeduceTemplateArgumentsEPNS_20FunctionTemplateDeclEPNS_24TemplateArgumentListInfoEN4llvm8ArrayRefIPNS_4ExprEEERPNS_12FunctionDeclERNS_4sema21TemplateDeductionInfoEbNS5_12function_refIFbNS6_INS_8QualTypeEEEEEE+0xe29)[0x7f9f80a404c9]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema28AddTemplateOverloadCandidateEPNS_20FunctionTemplateDeclENS_14DeclAccessPairEPNS_24TemplateArgumentListInfoEN4llvm8ArrayRefIPNS_4ExprEEERNS_20OverloadCandidateSetEbbbNS_8CallExpr11ADLCallKindENS_27OverloadCandidateParamOrderE+0x295)[0x7f9f808f79f5]
/lib64/libclang-cpp.so.12(+0x15cf051)[0x7f9f808fb051]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27AddOverloadedCallCandidatesEPNS_20UnresolvedLookupExprEN4llvm8ArrayRefIPNS_4ExprEEERNS_20OverloadCandidateSetEb+0x112)[0x7f9f808fbfa2]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema22buildOverloadedCallSetEPNS_5ScopeEPNS_4ExprEPNS_20UnresolvedLookupExprEN4llvm15MutableArrayRefIS4_EENS_14SourceLocationEPNS_20OverloadCandidateSetEPNS_12ActionResultIS4_Lb1EEE+0x11b)[0x7f9f808fc19b]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema23BuildOverloadedCallExprEPNS_5ScopeEPNS_4ExprEPNS_20UnresolvedLookupExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES7_S4_bb+0x19a)[0x7f9f8090774a]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13BuildCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_bb+0x66d)[0x7f9f806bb13d]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13ActOnCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_+0x62)[0x7f9f806bc782]
/lib64/libclang-cpp.so.12(+0x1734197)[0x7f9f80a60197]
/lib64/libclang-cpp.so.12(+0x172ecc7)[0x7f9f80a5acc7]
/lib64/libclang-cpp.so.12(+0x17564f6)[0x7f9f80a824f6]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema9SubstStmtEPNS_4StmtERKNS_30MultiLevelTemplateArgumentListE+0x60)[0x7f9f80a84060]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbbb+0x11df)[0x7f9f80a995ff]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27runWithSufficientStackSpaceENS_14SourceLocationEN4llvm12function_refIFvvEEE+0x45)[0x7f9f8038c075]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema16DeduceReturnTypeEPNS_12FunctionDeclENS_14SourceLocationEb+0x1d4)[0x7f9f80a058b4]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema17DiagnoseUseOfDeclEPNS_9NamedDeclEN4llvm8ArrayRefINS_14SourceLocationEEEPKNS_17ObjCInterfaceDeclEbbPS7_+0x103d)[0x7f9f8066e0cd]
/lib64/libclang-cpp.so.12(+0x15dae15)[0x7f9f80906e15]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema23BuildOverloadedCallExprEPNS_5ScopeEPNS_4ExprEPNS_20UnresolvedLookupExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES7_S4_bb+0x242)[0x7f9f809077f2]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13BuildCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_bb+0x66d)[0x7f9f806bb13d]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13ActOnCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_+0x62)[0x7f9f806bc782]
/lib64/libclang-cpp.so.12(+0x1734197)[0x7f9f80a60197]
/lib64/libclang-cpp.so.12(+0x173729d)[0x7f9f80a6329d]
/lib64/libclang-cpp.so.12(+0x173a498)[0x7f9f80a66498]
/lib64/libclang-cpp.so.12(+0x173cb96)[0x7f9f80a68b96]
/lib64/libclang-cpp.so.12(+0x173f5fd)[0x7f9f80a6b5fd]
/lib64/libclang-cpp.so.12(+0x1749b72)[0x7f9f80a75b72]
/lib64/libclang-cpp.so.12(+0x172ecc7)[0x7f9f80a5acc7]
/lib64/libclang-cpp.so.12(+0x17564f6)[0x7f9f80a824f6]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema9SubstStmtEPNS_4StmtERKNS_30MultiLevelTemplateArgumentListE+0x60)[0x7f9f80a84060]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbbb+0x11df)[0x7f9f80a995ff]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27runWithSufficientStackSpaceENS_14SourceLocationEN4llvm12function_refIFvvEEE+0x45)[0x7f9f8038c075]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema22MarkFunctionReferencedENS_14SourceLocationEPNS_12FunctionDeclEb+0x5a3)[0x7f9f806853a3]
/lib64/libclang-cpp.so.12(+0x135a0f5)[0x7f9f806860f5]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema16BuildDeclRefExprEPNS_9ValueDeclENS_8QualTypeENS_13ExprValueKindERKNS_19DeclarationNameInfoENS_22NestedNameSpecifierLocEPNS_9NamedDeclENS_14SourceLocationEPKNS_24TemplateArgumentListInfoE+0xc8)[0x7f9f80686408]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema30FixOverloadedFunctionReferenceEPNS_4ExprENS_14DeclAccessPairEPNS_12FunctionDeclE+0x4f6)[0x7f9f808da8a6]
/lib64/libclang-cpp.so.12(+0x15dae4c)[0x7f9f80906e4c]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema23BuildOverloadedCallExprEPNS_5ScopeEPNS_4ExprEPNS_20UnresolvedLookupExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES7_S4_bb+0x242)[0x7f9f809077f2]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13BuildCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_bb+0x66d)[0x7f9f806bb13d]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13ActOnCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_+0x62)[0x7f9f806bc782]
/lib64/libclang-cpp.so.12(+0x1734197)[0x7f9f80a60197]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema16SubstInitializerEPNS_4ExprERKNS_30MultiLevelTemplateArgumentListEb+0x59)[0x7f9f80a5afa9]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema30InstantiateVariableInitializerEPNS_7VarDeclES2_RKNS_30MultiLevelTemplateArgumentListE+0x12c)[0x7f9f80a88aac]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema26BuildVariableInstantiationEPNS_7VarDeclES2_RKNS_30MultiLevelTemplateArgumentListEPN4llvm11SmallVectorINS0_25LateInstantiatedAttributeELj16EEEPNS_11DeclContextEPNS_23LocalInstantiationScopeEbPNS_29VarTemplateSpecializationDeclE+0x6b4)[0x7f9f80a948c4]
/lib64/libclang-cpp.so.12(_ZN5clang24TemplateDeclInstantiator12VisitVarDeclEPNS_7VarDeclEbPN4llvm8ArrayRefIPNS_11BindingDeclEEE+0x284)[0x7f9f80a95274]
/lib64/libclang-cpp.so.12(+0x17755b8)[0x7f9f80aa15b8]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27runWithSufficientStackSpaceENS_14SourceLocationEN4llvm12function_refIFvvEEE+0x45)[0x7f9f8038c075]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema9SubstDeclEPNS_4DeclEPNS_11DeclContextERKNS_30MultiLevelTemplateArgumentListE+0xcc)[0x7f9f80a8779c]
/lib64/libclang-cpp.so.12(+0x1727997)[0x7f9f80a53997]
/lib64/libclang-cpp.so.12(+0x17564f6)[0x7f9f80a824f6]
/lib64/libclang-cpp.so.12(+0x1757590)[0x7f9f80a83590]
/lib64/libclang-cpp.so.12(+0x17564f6)[0x7f9f80a824f6]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema9SubstStmtEPNS_4StmtERKNS_30MultiLevelTemplateArgumentListE+0x60)[0x7f9f80a84060]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbbb+0x11df)[0x7f9f80a995ff]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema27runWithSufficientStackSpaceENS_14SourceLocationEN4llvm12function_refIFvvEEE+0x45)[0x7f9f8038c075]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema16DeduceReturnTypeEPNS_12FunctionDeclENS_14SourceLocationEb+0x1d4)[0x7f9f80a058b4]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema17DiagnoseUseOfDeclEPNS_9NamedDeclEN4llvm8ArrayRefINS_14SourceLocationEEEPKNS_17ObjCInterfaceDeclEbbPS7_+0x103d)[0x7f9f8066e0cd]
/lib64/libclang-cpp.so.12(+0x15dae15)[0x7f9f80906e15]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema23BuildOverloadedCallExprEPNS_5ScopeEPNS_4ExprEPNS_20UnresolvedLookupExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES7_S4_bb+0x242)[0x7f9f809077f2]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13BuildCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_bb+0x66d)[0x7f9f806bb13d]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema13ActOnCallExprEPNS_5ScopeEPNS_4ExprENS_14SourceLocationEN4llvm15MutableArrayRefIS4_EES5_S4_+0x62)[0x7f9f806bc782]
/lib64/libclang-cpp.so.12(+0x1734197)[0x7f9f80a60197]
/lib64/libclang-cpp.so.12(+0x1755091)[0x7f9f80a81091]
/lib64/libclang-cpp.so.12(+0x17564f6)[0x7f9f80a824f6]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema9SubstStmtEPNS_4StmtERKNS_30MultiLevelTemplateArgumentListE+0x60)[0x7f9f80a84060]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema29InstantiateFunctionDefinitionENS_14SourceLocationEPNS_12FunctionDeclEbbb+0x11df)[0x7f9f80a995ff]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema28PerformPendingInstantiationsEb+0x30f)[0x7f9f80a978ef]
/lib64/libclang-cpp.so.12(+0x107bcec)[0x7f9f803a7cec]
/lib64/libclang-cpp.so.12(_ZN5clang4Sema25ActOnEndOfTranslationUnitEv+0x99)[0x7f9f803a82a9]
/lib64/libclang-cpp.so.12(_ZN5clang6Parser17ParseTopLevelDeclERNS_9OpaquePtrINS_12DeclGroupRefEEEb+0x352)[0x7f9f7fe11d52]
/lib64/libclang-cpp.so.12(_ZN5clang8ParseASTERNS_4SemaEbb+0x229)[0x7f9f7fd3b259]
/lib64/libclang-cpp.so.12(_ZN5clang14FrontendAction7ExecuteEv+0xc9)[0x7f9f8147bfe9]
/lib64/libclang-cpp.so.12(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x20b)[0x7f9f81422ccb]
/lib64/libclang-cpp.so.12(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x5ab)[0x7f9f814ea63b]
/usr/bin/clang-12(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0xcfc)[0x561b0f7af6fc]
/usr/bin/clang-12(+0x1380a)[0x561b0f7ac80a]
/usr/bin/clang-12(main+0x594)[0x561b0f7a8cb4]
/lib64/libc.so.6(__libc_start_main+0xd5)[0x7f9f793acb75]
/usr/bin/clang-12(_start+0x2e)[0x561b0f7abc1e]

-- 
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/20210706/da8dc6d2/attachment-0001.html>


More information about the llvm-bugs mailing list