Created
August 2, 2014 23:03
-
-
Save cwgreene/d689f010619310dbbc77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unable to find instantiation of declaration! | |
UNREACHABLE executed at SemaTemplateInstantiateDecl.cpp:4384! | |
0 clang 0x000000000327344e llvm::sys::PrintStackTrace(_IO_FILE*) + 38 | |
1 clang 0x00000000032736d5 | |
2 clang 0x0000000003273110 | |
3 libpthread.so.0 0x00007f49edae88f0 | |
4 libc.so.6 0x00007f49ecb15407 gsignal + 55 | |
5 libc.so.6 0x00007f49ecb167e8 abort + 328 | |
6 clang 0x000000000325c10f | |
7 clang 0x00000000015cd995 clang::Sema::FindInstantiatedDecl(clang::SourceLocation, clang::NamedDecl*, clang::MultiLevelTemplateArgumentList const&) + 3137 | |
8 clang 0x0000000001584aaf | |
9 clang 0x00000000015a34d7 | |
10 clang 0x0000000001591053 | |
11 clang 0x000000000158b5bf | |
12 clang 0x0000000001584481 | |
13 clang 0x0000000001590a9d | |
14 clang 0x00000000015904a9 | |
15 clang 0x00000000015ab4ba | |
16 clang 0x0000000001599a46 | |
17 clang 0x0000000001590023 | |
18 clang 0x000000000158aaa6 clang::Sema::SubstStmt(clang::Stmt*, clang::MultiLevelTemplateArgumentList const&) + 134 | |
19 clang 0x00000000015c9bd6 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool) + 2438 | |
20 clang 0x00000000015cdbf9 clang::Sema::PerformPendingInstantiations(bool) + 581 | |
21 clang 0x00000000011b2b27 clang::Sema::ActOnEndOfTranslationUnit() + 613 | |
22 clang 0x00000000011170d8 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) + 308 | |
23 clang 0x0000000001113c6c clang::ParseAST(clang::Sema&, bool, bool) + 606 | |
24 clang 0x0000000000cbb283 clang::ASTFrontendAction::ExecuteAction() + 321 | |
25 clang 0x0000000000f0c732 clang::CodeGenAction::ExecuteAction() + 1414 | |
26 clang 0x0000000000cbadc2 clang::FrontendAction::Execute() + 200 | |
27 clang 0x0000000000c8d230 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 720 | |
28 clang 0x0000000000c5b81f clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1012 | |
29 clang 0x0000000000c4c783 cc1_main(char const**, char const**, char const*, void*) + 717 | |
30 clang 0x0000000000c56e9f main + 813 | |
31 libc.so.6 0x00007f49ecb01b45 __libc_start_main + 245 | |
32 clang 0x0000000000c4be59 | |
Stack dump: | |
0. Program arguments: /home/chris/installs/usr/local/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name test.cc -mrelocation-model static -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-linker-version 2.22.90.20120924 -resource-dir /home/chris/installs/usr/local/bin/../lib/clang/3.4 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8 -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/x86_64-linux-gnu -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/backward -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/x86_64-linux-gnu/c++/4.8 -internal-isystem /usr/local/include -internal-isystem /home/chris/installs/usr/local/bin/../lib/clang/3.4/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/chris/test/crashclang -ferror-limit 19 -fmessage-length 213 -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-slp -o /tmp/test-87ed13.o -x c++ test.cc | |
1. <eof> parser at end of file | |
2. test.cc:6:8: instantiating function definition 'foo' | |
clang: error: unable to execute command: Aborted (core dumped) | |
clang: error: clang frontend command failed due to signal (use -v to see invocation) | |
clang version 3.4 (trunk 194320) | |
Target: x86_64-unknown-linux-gnu | |
Thread model: posix | |
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ 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/test-afa5f2.cpp | |
clang: note: diagnostic msg: /tmp/test-afa5f2.sh | |
clang: note: diagnostic msg: | |
******************** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/llvm-mirror/clang/blob/b310439121c875937d78cc49cc969bc1197fc025/lib/Sema/SemaTemplateInstantiateDecl.cpp#L4384