Skip to content

Instantly share code, notes, and snippets.

@EricWF
Created February 10, 2017 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EricWF/81dc332e21c3e5c6bdc024cda87b846f to your computer and use it in GitHub Desktop.
Save EricWF/81dc332e21c3e5c6bdc024cda87b846f to your computer and use it in GitHub Desktop.
lit.py: /home/eric/workspace/clang/test/lit.cfg:200: note: using clang: '/home/eric/workspace/build-clang/./bin/clang'
FAIL: Clang :: SemaCXX/coroutines.cpp (1 of 1)
******************** TEST 'Clang :: SemaCXX/coroutines.cpp' FAILED ********************
Script:
--
/home/eric/workspace/build-clang/./bin/clang -cc1 -internal-isystem /home/eric/workspace/build-clang/bin/../lib/clang/5.0.0/include -nostdsysteminc -std=c++14 -fcoroutines-ts -verify /home/eric/workspace/clang/test/SemaCXX/coroutines.cpp -fcxx-exceptions
--
Exit Code: 139
Command Output (stderr):
--
#0 0x00007fccb16faac9 PrintStackTrace /home/eric/full-llvm/llvm/lib/Support/Unix/Signals.inc:402:13
#1 0x00007fccb16faac9 PrintStackTraceSignalHandler(void*) /home/eric/full-llvm/llvm/lib/Support/Unix/Signals.inc:465:0
#2 0x00007fccb16fad66 operator!=<std::__1::pair<void (*)(void *), void *> *> /usr/local/bin/../include/c++/v1/iterator:1519:12
#3 0x00007fccb16fad66 RunSignalHandlers /home/eric/full-llvm/llvm/lib/Support/Signals.cpp:44:0
#4 0x00007fccb16fad66 SignalHandler(int) /home/eric/full-llvm/llvm/lib/Support/Unix/Signals.inc:246:0
#5 0x00007fccb10ee390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#6 0x00007fccacbd456f clang::DeclContext::setUseQualifiedLookup(bool) /home/eric/workspace/clang/include/clang/AST/DeclBase.h:1801:24
#7 0x00007fccacbb6a80 clang::Sema::LookupQualifiedName(clang::LookupResult&, clang::DeclContext*, bool)::QualifiedLookupInScope::QualifiedLookupInScope(clang::DeclContext*) /home/eric/workspace/clang/lib/Sema/SemaLookup.cpp:2001:14
#8 0x00007fccacbb33ae clang::Sema::LookupQualifiedName(clang::LookupResult&, clang::DeclContext*, bool) /home/eric/workspace/clang/lib/Sema/SemaLookup.cpp:2008:27
#9 0x00007fccac629c13 (anonymous namespace)::SubStmtBuilder::makeOnException() /home/eric/workspace/clang/lib/Sema/SemaCoroutine.cpp:733:7
#10 0x00007fccac62861d (anonymous namespace)::SubStmtBuilder::SubStmtBuilder(clang::Sema&, clang::FunctionDecl&, clang::sema::FunctionScopeInfo&, clang::Stmt*) /home/eric/workspace/clang/lib/Sema/SemaCoroutine.cpp:591:43
#11 0x00007fccac6283c2 clang::Sema::CheckCompletedCoroutineBody(clang::FunctionDecl*, clang::Stmt*&) /home/eric/workspace/clang/lib/Sema/SemaCoroutine.cpp:622:18
#12 0x00007fccac6789db clang::Sema::ActOnFinishFunctionBody(clang::Decl*, clang::Stmt*, bool) /home/eric/workspace/clang/lib/Sema/SemaDecl.cpp:11989:7
#13 0x00007fccac6788f7 clang::Sema::ActOnFinishFunctionBody(clang::Decl*, clang::Stmt*) /home/eric/workspace/clang/lib/Sema/SemaDecl.cpp:11976:3
#14 0x00007fccad4cc891 clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) /home/eric/workspace/clang/lib/Parse/ParseStmt.cpp:1960:18
#15 0x00007fccad4f2ad3 clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) /home/eric/workspace/clang/lib/Parse/Parser.cpp:1218:3
#16 0x00007fccad4df4b8 clang::Parser::ParseSingleDeclarationAfterTemplate(unsigned int, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) /home/eric/workspace/clang/lib/Parse/ParseTemplate.cpp:300:5
#17 0x00007fccad4de862 clang::Parser::ParseTemplateDeclarationOrSpecialization(unsigned int, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) /home/eric/workspace/clang/lib/Parse/ParseTemplate.cpp:152:10
#18 0x00007fccad4de1b5 clang::Parser::ParseDeclarationStartingWithTemplate(unsigned int, clang::SourceLocation&, clang::AccessSpecifier, clang::AttributeList*) /home/eric/workspace/clang/lib/Parse/ParseTemplate.cpp:38:3
#19 0x00007fccad3ff023 clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) /home/eric/workspace/clang/lib/Parse/ParseDecl.cpp:1518:16
#20 0x00007fccad4f06d1 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) /home/eric/workspace/clang/lib/Parse/Parser.cpp:788:14
#21 0x00007fccad42a6b8 clang::Parser::ParseInnerNamespace(std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, std::__1::vector<clang::IdentifierInfo*, std::__1::allocator<clang::IdentifierInfo*> >&, std::__1::vector<clang::SourceLocation, std::__1::allocator<clang::SourceLocation> >&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) /home/eric/workspace/clang/lib/Parse/ParseDeclCXX.cpp:220:7
#22 0x00007fccad42a01a clang::Parser::ParseNamespace(unsigned int, clang::SourceLocation&, clang::SourceLocation) /home/eric/workspace/clang/lib/Parse/ParseDeclCXX.cpp:195:3
#23 0x00007fccad3ff135 clang::Parser::ParseDeclaration(unsigned int, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&) /home/eric/workspace/clang/lib/Parse/ParseDecl.cpp:1531:12
#24 0x00007fccad4f06d1 clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) /home/eric/workspace/clang/lib/Parse/Parser.cpp:788:14
#25 0x00007fccad4eface clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&) /home/eric/workspace/clang/lib/Parse/Parser.cpp:627:12
#26 0x00007fccad3e3771 clang::ParseAST(clang::Sema&, bool, bool) /home/eric/workspace/clang/lib/Parse/ParseAST.cpp:147:14
#27 0x00007fccafe8f7c5 clang::ASTFrontendAction::ExecuteAction() /home/eric/workspace/clang/lib/Frontend/FrontendAction.cpp:569:1
#28 0x00007fccafe8edb0 clang::FrontendAction::Execute() /home/eric/workspace/clang/lib/Frontend/FrontendAction.cpp:472:7
#29 0x00007fccafdbb5fe clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/eric/workspace/clang/lib/Frontend/CompilerInstance.cpp:951:7
#30 0x00007fccafbbb070 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/eric/workspace/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:249:8
#31 0x0000000000422814 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/eric/workspace/clang/tools/driver/cc1_main.cpp:221:11
#32 0x00000000004111d9 ExecuteCC1Tool(llvm::ArrayRef<char const*>, llvm::StringRef) /home/eric/workspace/clang/tools/driver/driver.cpp:299:5
#33 0x000000000040eda3 main /home/eric/workspace/clang/tools/driver/driver.cpp:380:5
#34 0x00007fccaf1c5830 __libc_start_main /build/glibc-t3gR2i/glibc-2.23/csu/../csu/libc-start.c:325:0
#35 0x000000000040d379 _start (/home/eric/workspace/build-clang/./bin/clang+0x40d379)
Stack dump:
0. Program arguments: /home/eric/workspace/build-clang/./bin/clang -cc1 -internal-isystem /home/eric/workspace/build-clang/bin/../lib/clang/5.0.0/include -nostdsysteminc -std=c++14 -fcoroutines-ts -verify /home/eric/workspace/clang/test/SemaCXX/coroutines.cpp -fcxx-exceptions
1. /home/eric/workspace/clang/test/SemaCXX/coroutines.cpp:225:4: current parser token ';'
2. /home/eric/workspace/clang/test/SemaCXX/coroutines.cpp:220:1: parsing namespace 'dependent_operator_co_await_lookup'
3. /home/eric/workspace/clang/test/SemaCXX/coroutines.cpp:221:49: parsing function body 'dependent_operator_co_await_lookup::await_template'
/home/eric/workspace/build-clang/test/SemaCXX/Output/coroutines.cpp.script: line 1: 1601 Segmentation fault (core dumped) /home/eric/workspace/build-clang/./bin/clang -cc1 -internal-isystem /home/eric/workspace/build-clang/bin/../lib/clang/5.0.0/include -nostdsysteminc -std=c++14 -fcoroutines-ts -verify /home/eric/workspace/clang/test/SemaCXX/coroutines.cpp -fcxx-exceptions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment