[clang] [Clang][Sema] Move err_seh_object_unwinding diagnostic from CodeGen to Sema (PR #199995)
via cfe-commits
cfe-commits at lists.llvm.org
Wed May 27 08:20:18 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 88113 tests passed
* 1604 tests skipped
* 5 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CXX/drs/cwg15xx.cpp</summary>
```
Exit Code: -11
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++98 -triple x86_64-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/drs/cwg15xx.cpp -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected,cxx98
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++98 -triple x86_64-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/drs/cwg15xx.cpp -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected,cxx98
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++11 -triple x86_64-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/drs/cwg15xx.cpp -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected,cxx11-20,since-cxx11,cxx11-14
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++11 -triple x86_64-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/drs/cwg15xx.cpp -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected,cxx11-20,since-cxx11,cxx11-14
# .---command stderr------------
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++11 -triple x86_64-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/drs/cwg15xx.cpp -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected,cxx11-20,since-cxx11,cxx11-14
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/drs/cwg15xx.cpp:238:16: current parser token ';'
# | 2. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/drs/cwg15xx.cpp:205:1: parsing namespace 'cwg1518'
# | #0 0x00000000094878a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x0000000009484811 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000094886c1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x0000000009488518 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8
# | #4 0x0000000009488518 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2117:14
# | #5 0x0000000009488518 find<const int *, int> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:3897:14
# | #6 0x0000000009488518 is_contained<const int (&)[10], int> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1952:12
# | #7 0x0000000009488518 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:464:7
# | #8 0x00007ab019e2c330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #9 0x000000000b8ed683 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:32
# | #10 0x000000000b8ed683 reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::SourceLocation, true> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:240:28
# | #11 0x000000000b8ed683 reserveForParamAndGetAddress /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:545:9
# | #12 0x000000000b8ed683 llvm::SmallVectorTemplateBase<clang::SourceLocation, true>::push_back(clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:570:23
# | #13 0x000000000be11511 clang::Sema::BuildCXXNew(clang::SourceRange, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::QualType, clang::TypeSourceInfo*, std::optional<clang::Expr*>, clang::SourceRange, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:2683:29
# | #14 0x000000000be0f164 clang::Sema::ActOnCXXNew(clang::SourceLocation, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::Declarator&, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:0:10
# | #15 0x000000000b8ee25e clang::Parser::ParseCXXNewExpression(bool, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExprCXX.cpp:2966:18
# | #16 0x000000000b8d4979 clang::Parser::ParseCastExpression(clang::CastParseKind, bool, bool&, clang::TypoCorrectionTypeBehavior, bool, bool*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:1484:9
# | #17 0x000000000b8cf4c9 ParseCastExpression /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:594:20
# | #18 0x000000000b8cf4c9 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
# | #19 0x000000000b920a70 clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:25
# | #20 0x000000000b91e6b2 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2381:7
# | #21 0x000000000b8b045b clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10
# | #22 0x000000000b8afd76 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1175:12
# | #23 0x000000000b8aee1e clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14
# | #24 0x000000000b8f4d7d ~AttributePool /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:709:22
# | #25 0x000000000b8f4d7d ~ParsedAttributes /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:937:7
# | #26 0x000000000b8f4d7d clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:237:5
# | #27 0x000000000b8f42ce Exit /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:518:15
# | #28 0x000000000b8f42ce clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:217:18
# | #29 0x000000000b91d074 ObjCDeclContextSwitch /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:5466:11
# | #30 0x000000000b91d074 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:1907:25
# | #31 0x000000000b8ae8b9 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:0
# | #32 0x000000000b8ad060 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:711:10
# | #33 0x000000000b8a173e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #34 0x000000000a3610a6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #35 0x000000000a2bf53a getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #36 0x000000000a2bf53a operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #37 0x000000000a2bf53a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1021:23
# | #38 0x000000000a45a718 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #39 0x000000000a45a718 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #40 0x000000000a45a718 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #41 0x000000000a45a718 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:314:12
# | #42 0x000000000a45a718 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
# | #43 0x000000000657c680 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:296:13
# | #44 0x0000000006578475 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
# | #45 0x0000000006577440 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:277:12
# | #46 0x000000000658895d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #47 0x00007ab019e111ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #48 0x00007ab019e1128b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #49 0x0000000006575de5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x6575de5)
# `-----------------------------
# error: command failed with exit status: -11
--
```
</details>
<details>
<summary>Clang.CXX/temp/temp_decls/temp_variadic/p4.cpp</summary>
```
Exit Code: -11
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++11 -fsyntax-only -fexceptions -fcxx-exceptions -verify=expected,pre20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/p4.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++11 -fsyntax-only -fexceptions -fcxx-exceptions -verify=expected,pre20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/p4.cpp
# .---command stderr------------
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
# | Stack dump:
# | 0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang -cc1 -internal-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib/clang/23/include -nostdsysteminc -std=c++11 -fsyntax-only -fexceptions -fcxx-exceptions -verify=expected,pre20 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/p4.cpp
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/p4.cpp:111:38: current parser token ';'
# | #0 0x00000000094878a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x0000000009484811 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000094886c1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x0000000009488518 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2072:8
# | #4 0x0000000009488518 __find_if<const int *, __gnu_cxx::__ops::_Iter_equals_val<const int> > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algobase.h:2117:14
# | #5 0x0000000009488518 find<const int *, int> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_algo.h:3897:14
# | #6 0x0000000009488518 is_contained<const int (&)[10], int> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLExtras.h:1952:12
# | #7 0x0000000009488518 SignalHandlerTerminate(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:464:7
# | #8 0x00007aeaf62e4330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #9 0x000000000b8ed683 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:32
# | #10 0x000000000b8ed683 reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::SourceLocation, true> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:240:28
# | #11 0x000000000b8ed683 reserveForParamAndGetAddress /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:545:9
# | #12 0x000000000b8ed683 llvm::SmallVectorTemplateBase<clang::SourceLocation, true>::push_back(clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:570:23
# | #13 0x000000000be11511 clang::Sema::BuildCXXNew(clang::SourceRange, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::QualType, clang::TypeSourceInfo*, std::optional<clang::Expr*>, clang::SourceRange, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:2683:29
# | #14 0x000000000be0f164 clang::Sema::ActOnCXXNew(clang::SourceLocation, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::Declarator&, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:0:10
# | #15 0x000000000b8ee25e clang::Parser::ParseCXXNewExpression(bool, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExprCXX.cpp:2966:18
# | #16 0x000000000b8d4979 clang::Parser::ParseCastExpression(clang::CastParseKind, bool, bool&, clang::TypoCorrectionTypeBehavior, bool, bool*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:1484:9
# | #17 0x000000000b8cf4c9 ParseCastExpression /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:594:20
# | #18 0x000000000b8cf4c9 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
# | #19 0x000000000b920a70 clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:25
# | #20 0x000000000b91e6b2 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2381:7
# | #21 0x000000000b8b045b clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10
# | #22 0x000000000b8afd76 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1175:12
# | #23 0x000000000b8aee1e clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14
# | #24 0x000000000b8ad060 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:711:10
# | #25 0x000000000b8a173e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #26 0x000000000a3610a6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #27 0x000000000a2bf53a getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #28 0x000000000a2bf53a operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #29 0x000000000a2bf53a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1021:23
# | #30 0x000000000a45a718 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
# | #31 0x000000000a45a718 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
# | #32 0x000000000a45a718 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
# | #33 0x000000000a45a718 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:314:12
# | #34 0x000000000a45a718 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
# | #35 0x000000000657c680 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:296:13
# | #36 0x0000000006578475 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
# | #37 0x0000000006577440 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:277:12
# | #38 0x000000000658895d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
# | #39 0x00007aeaf62c91ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #40 0x00007aeaf62c928b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #41 0x0000000006575de5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+0x6575de5)
# `-----------------------------
# error: command failed with exit status: -11
--
```
</details>
<details>
<summary>Clang.Interpreter/inline-virtual.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 8
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/inline-virtual.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl -Xcc -fno-rtti -Xcc -fno-sized-deallocation | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/inline-virtual.cpp
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/inline-virtual.cpp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl -Xcc -fno-rtti -Xcc -fno-sized-deallocation
# .---command stderr------------
# | #0 0x00000000087dfbf8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x00000000087dcaf5 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000087e0a11 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x000078b82b27b330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x000000000a2c84b3 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:32
# | #5 0x000000000a2c84b3 reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::SourceLocation, true> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:240:28
# | #6 0x000000000a2c84b3 reserveForParamAndGetAddress /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:545:9
# | #7 0x000000000a2c84b3 llvm::SmallVectorTemplateBase<clang::SourceLocation, true>::push_back(clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:570:23
# | #8 0x000000000a99a9d1 clang::Sema::BuildCXXNew(clang::SourceRange, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::QualType, clang::TypeSourceInfo*, std::optional<clang::Expr*>, clang::SourceRange, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:2683:29
# | #9 0x000000000a998624 clang::Sema::ActOnCXXNew(clang::SourceLocation, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::Declarator&, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:0:10
# | #10 0x000000000a2c908e clang::Parser::ParseCXXNewExpression(bool, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExprCXX.cpp:2966:18
# | #11 0x000000000a2afb59 clang::Parser::ParseCastExpression(clang::CastParseKind, bool, bool&, clang::TypoCorrectionTypeBehavior, bool, bool*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:1484:9
# | #12 0x000000000a2aa6a9 ParseCastExpression /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:594:20
# | #13 0x000000000a2aa6a9 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
# | #14 0x000000000a2fb760 clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:25
# | #15 0x000000000a2f93a2 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2381:7
# | #16 0x000000000a28b6bb clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10
# | #17 0x000000000a28afd6 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1175:12
# | #18 0x000000000a28a01e clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14
# | #19 0x000000000a288260 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:711:10
# | #20 0x000000000a287d71 clang::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:607:23
# | #21 0x000000000934dd98 clang::IncrementalParser::ParseOrWrapTopLevelDecl() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.cpp:77:3
# | #22 0x000000000934f6e8 clang::IncrementalParser::Parse(llvm::StringRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.cpp:153:7
# | #23 0x000000000934b8e3 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:576:17
# | #24 0x000000000934b8e3 clang::Interpreter::Parse(llvm::StringRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:481:8
# | #25 0x000000000934ae01 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:576:17
# | #26 0x000000000934ae01 clang::Interpreter::ParseAndExecute(llvm::StringRef, clang::Value*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:536:8
# | #27 0x0000000006630ed0 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #28 0x0000000006630ed0 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #29 0x0000000006630ed0 main /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/clang-repl/ClangRepl.cpp:416:23
# | #30 0x000078b82b2601ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #31 0x000078b82b26028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #32 0x000000000662d125 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x662d125)
# `-----------------------------
# error: command failed with exit status: -11
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/inline-virtual.cpp
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/inline-virtual.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
### lldb-api
<details>
<summary>lldb-api.functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py</summary>
```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --triple x86_64-unknown-linux-gnu --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals -p TestDataFormatterGlobals.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision f78d1c53e21576fe3bb6016a67bca2f604df4e74)
clang revision f78d1c53e21576fe3bb6016a67bca2f604df4e74
llvm revision f78d1c53e21576fe3bb6016a67bca2f604df4e74
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_with_run_command_dsym (TestDataFormatterGlobals.GlobalsDataFormatterTestCase.test_with_run_command_dsym) (test case does not fall in any category of interest for this run)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_with_run_command_dwarf (TestDataFormatterGlobals.GlobalsDataFormatterTestCase.test_with_run_command_dwarf)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals/Error_test_with_run_command_dwarf.log
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_with_run_command_dwo (TestDataFormatterGlobals.GlobalsDataFormatterTestCase.test_with_run_command_dwo)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals/Error_test_with_run_command_dwo.log
======================================================================
ERROR: test_with_run_command_dwarf (TestDataFormatterGlobals.GlobalsDataFormatterTestCase.test_with_run_command_dwarf)
Test that that file and class static variables display correctly.
----------------------------------------------------------------------
Error when building test subject.
Build Command:
/usr/bin/gmake VPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals -C /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals/Makefile MAKE_DSYM=NO all TRIPLE=x86_64-unknown-linux-gnu CC=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang CC_TYPE=clang CXX=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ LLVM_AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar OBJCOPY=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-objcopy STRIP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-strip ARCHIVER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar DWP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-dwp CLANG_MODULE_CACHE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 LIBCPP_LIBRARY_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu LIBCPP_INCLUDE_TARGET_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 LLDB_OBJ_ROOT=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb OS=Linux HOST_OS=Linux
Build Command Output:
gmake: Entering directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals'
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ -mllvm -x86-asm-syntax=att -std=c++11 -g -O0 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target x86_64-unknown-linux-gnu -D_DEFAULT_SOURCE -mllvm -x86-asm-syntax=att -nostdlib++ -nostdinc++ -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ -mllvm -x86-asm-syntax=att -std=c++11 -g -O0 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target x86_64-unknown-linux-gnu -D_DEFAULT_SOURCE -mllvm -x86-asm-syntax=att -nostdlib++ -nostdinc++ -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp
1. /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp:8:40: current parser token ';'
#0 0x00000000094878a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
#1 0x0000000009484811 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x000000000948649c llvm::sys::CleanupOnSignal(unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
#3 0x00000000093e4906 HandleCrash /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5
#4 0x00000000093e4906 CrashRecoverySignalHandler(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:393:51
#5 0x00007bda11d60330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#6 0x000000000b8ed683 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:32
#7 0x000000000b8ed683 reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::SourceLocation, true> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:240:28
#8 0x000000000b8ed683 reserveForParamAndGetAddress /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:545:9
#9 0x000000000b8ed683 llvm::SmallVectorTemplateBase<clang::SourceLocation, true>::push_back(clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:570:23
#10 0x000000000be11511 clang::Sema::BuildCXXNew(clang::SourceRange, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::QualType, clang::TypeSourceInfo*, std::optional<clang::Expr*>, clang::SourceRange, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:2683:29
#11 0x000000000be0f164 clang::Sema::ActOnCXXNew(clang::SourceLocation, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::Declarator&, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:0:10
#12 0x000000000b8ee25e clang::Parser::ParseCXXNewExpression(bool, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExprCXX.cpp:2966:18
#13 0x000000000b8d4979 clang::Parser::ParseCastExpression(clang::CastParseKind, bool, bool&, clang::TypoCorrectionTypeBehavior, bool, bool*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:1484:9
#14 0x000000000b8cf4c9 ParseCastExpression /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:594:20
#15 0x000000000b8cf4c9 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
#16 0x000000000b920a70 clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:25
#17 0x000000000b91e6b2 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2381:7
#18 0x000000000b8b045b clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10
#19 0x000000000b8afd76 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1175:12
#20 0x000000000b8aee1e clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14
#21 0x000000000b8ad060 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:711:10
#22 0x000000000b8a173e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
#23 0x000000000a3610a6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
#24 0x000000000a2bf53a getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
#25 0x000000000a2bf53a operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
#26 0x000000000a2bf53a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1021:23
#27 0x000000000a45a718 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
#28 0x000000000a45a718 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
#29 0x000000000a45a718 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
#30 0x000000000a45a718 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:314:12
#31 0x000000000a45a718 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
#32 0x000000000657c680 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:296:13
#33 0x0000000006578475 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
#34 0x000000000657aa2d operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:0:12
#35 0x000000000657aa2d int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::$_0>(long, llvm::SmallVectorImpl<char const*>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
#36 0x000000000a100679 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:30
#37 0x000000000a100679 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::$_0>(long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
#38 0x00000000093e461e operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12
#39 0x00000000093e461e llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:437:3
#40 0x000000000a0ffd3c clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:7
#41 0x000000000a0bc9dc clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:196:15
#42 0x000000000a0bcbf7 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:246:13
#43 0x000000000a0da078 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46
#44 0x000000000a0da078 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Driver.cpp:2347:23
#45 0x0000000006577c69 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:419:21
#46 0x000000000658895d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
#47 0x00007bda11d451ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#48 0x00007bda11d4528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#49 0x0000000006575de5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+++0x6575de5)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 23.0.0git (https://github.com/llvm/llvm-project f78d1c53e21576fe3bb6016a67bca2f604df4e74)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin
Build config: +assertions
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/lit-tmp-n_zygja8/main-ca2862.cpp
clang++: note: diagnostic msg: /tmp/lit-tmp-n_zygja8/main-ca2862.sh
clang++: note: diagnostic msg:
********************
gmake: *** [Makefile.rules:656: main.o] Segmentation fault
gmake: Leaving directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals'
Test Directory:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals
======================================================================
ERROR: test_with_run_command_dwo (TestDataFormatterGlobals.GlobalsDataFormatterTestCase.test_with_run_command_dwo)
Test that that file and class static variables display correctly.
----------------------------------------------------------------------
Error when building test subject.
Build Command:
/usr/bin/gmake VPATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals -C /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals -I /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals/Makefile MAKE_DSYM=NO MAKE_DWO=YES all TRIPLE=x86_64-unknown-linux-gnu CC=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang CC_TYPE=clang CXX=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ LLVM_AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar AR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar OBJCOPY=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-objcopy STRIP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-strip ARCHIVER=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-ar DWP=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/llvm-dwp CLANG_MODULE_CACHE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 LIBCPP_LIBRARY_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu LIBCPP_INCLUDE_TARGET_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 LLDB_OBJ_ROOT=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb OS=Linux HOST_OS=Linux
Build Command Output:
gmake: Entering directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals'
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ -mllvm -x86-asm-syntax=att -std=c++11 -g -O0 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target x86_64-unknown-linux-gnu -gsplit-dwarf -D_DEFAULT_SOURCE -mllvm -x86-asm-syntax=att -nostdlib++ -nostdinc++ -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang++ -mllvm -x86-asm-syntax=att -std=c++11 -g -O0 -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals -I/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target x86_64-unknown-linux-gnu -gsplit-dwarf -D_DEFAULT_SOURCE -mllvm -x86-asm-syntax=att -nostdlib++ -nostdinc++ -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 -cxx-isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --driver-mode=g++ -MT main.o -MD -MP -MF main.d -c -o main.o /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp
1. /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals/main.cpp:8:40: current parser token ';'
#0 0x00000000094878a8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
#1 0x0000000009484811 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x000000000948649c llvm::sys::CleanupOnSignal(unsigned long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3
#3 0x00000000093e4906 HandleCrash /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:73:5
#4 0x00000000093e4906 CrashRecoverySignalHandler(int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:393:51
#5 0x00007d8a42835330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#6 0x000000000b8ed683 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:32
#7 0x000000000b8ed683 reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::SourceLocation, true> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:240:28
#8 0x000000000b8ed683 reserveForParamAndGetAddress /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:545:9
#9 0x000000000b8ed683 llvm::SmallVectorTemplateBase<clang::SourceLocation, true>::push_back(clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:570:23
#10 0x000000000be11511 clang::Sema::BuildCXXNew(clang::SourceRange, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::QualType, clang::TypeSourceInfo*, std::optional<clang::Expr*>, clang::SourceRange, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:2683:29
#11 0x000000000be0f164 clang::Sema::ActOnCXXNew(clang::SourceLocation, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::Declarator&, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:0:10
#12 0x000000000b8ee25e clang::Parser::ParseCXXNewExpression(bool, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExprCXX.cpp:2966:18
#13 0x000000000b8d4979 clang::Parser::ParseCastExpression(clang::CastParseKind, bool, bool&, clang::TypoCorrectionTypeBehavior, bool, bool*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:1484:9
#14 0x000000000b8cf4c9 ParseCastExpression /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:594:20
#15 0x000000000b8cf4c9 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
#16 0x000000000b920a70 clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:25
#17 0x000000000b91e6b2 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2381:7
#18 0x000000000b8b045b clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10
#19 0x000000000b8afd76 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1175:12
#20 0x000000000b8aee1e clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14
#21 0x000000000b8ad060 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:711:10
#22 0x000000000b8a173e clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
#23 0x000000000a3610a6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
#24 0x000000000a2bf53a getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
#25 0x000000000a2bf53a operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
#26 0x000000000a2bf53a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1021:23
#27 0x000000000a45a718 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1666:16
#28 0x000000000a45a718 _M_get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1363:66
#29 0x000000000a45a718 operator-> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1357:9
#30 0x000000000a45a718 getFrontendOpts /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:314:12
#31 0x000000000a45a718 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:319:14
#32 0x000000000657c680 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/cc1_main.cpp:296:13
#33 0x0000000006578475 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:229:12
#34 0x000000000657aa2d operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:0:12
#35 0x000000000657aa2d int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::$_0>(long, llvm::SmallVectorImpl<char const*>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
#36 0x000000000a100679 operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:30
#37 0x000000000a100679 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::$_0>(long) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
#38 0x00000000093e461e operator() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0:12
#39 0x00000000093e461e llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:437:3
#40 0x000000000a0ffd3c clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Job.cpp:442:7
#41 0x000000000a0bc9dc clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:196:15
#42 0x000000000a0bcbf7 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Compilation.cpp:246:13
#43 0x000000000a0da078 empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:86:46
#44 0x000000000a0da078 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Driver/Driver.cpp:2347:23
#45 0x0000000006577c69 clang_main(int, char**, llvm::ToolContext const&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/driver/driver.cpp:419:21
#46 0x000000000658895d main /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/driver/clang-driver.cpp:17:10
#47 0x00007d8a4281a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#48 0x00007d8a4281a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#49 0x0000000006575de5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang+++0x6575de5)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 23.0.0git (https://github.com/llvm/llvm-project f78d1c53e21576fe3bb6016a67bca2f604df4e74)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin
Build config: +assertions
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/lit-tmp-n_zygja8/main-02be02.cpp
clang++: note: diagnostic msg: /tmp/lit-tmp-n_zygja8/main-02be02.sh
clang++: note: diagnostic msg:
********************
gmake: *** [Makefile.rules:656: main.o] Segmentation fault
gmake: Leaving directory '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals'
Test Directory:
/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-globals
----------------------------------------------------------------------
Ran 3 tests in 1.429s
FAILED (errors=2, skipped=1)
--
```
</details>
### Clang Tools
<details>
<summary>Clang Tools.clang-tidy/checkers/bugprone/throw-keyword-missing.cpp</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/throw-keyword-missing.cpp bugprone-throw-keyword-missing /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throw-keyword-missing.cpp.tmp -- -- -fexceptions
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/throw-keyword-missing.cpp bugprone-throw-keyword-missing /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throw-keyword-missing.cpp.tmp -- -- -fexceptions
# .---command stdout------------
# | Running ['clang-tidy', '--experimental-custom-checks', '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throw-keyword-missing.cpp.tmp.cpp', '-fix', '--checks=-*,bugprone-throw-keyword-missing', '--config={}', '--', '-fexceptions', '-std=c++11', '-nostdinc++', '-isystem', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']...
# | clang-tidy --experimental-custom-checks /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throw-keyword-missing.cpp.tmp.cpp -fix --checks=-*,bugprone-throw-keyword-missing --config={} -- -fexceptions -std=c++11 -nostdinc++ -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std failed:
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
# | Stack dump:
# | 0. Program arguments: clang-tidy --experimental-custom-checks /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throw-keyword-missing.cpp.tmp.cpp -fix --checks=-*,bugprone-throw-keyword-missing --config={} -- -fexceptions -std=c++11 -nostdinc++ -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std
# | 1. /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throw-keyword-missing.cpp.tmp.cpp:121:50: current parser token ';'
# | #0 0x0000000004463978 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:880:13
# | #1 0x00000000044607d1 llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x0000000004464ac1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:448:38
# | #3 0x00007a0fe9a42330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x000000000693db23 size /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:32
# | #5 0x000000000693db23 reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::SourceLocation, true> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:240:28
# | #6 0x000000000693db23 reserveForParamAndGetAddress /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:545:9
# | #7 0x000000000693db23 llvm::SmallVectorTemplateBase<clang::SourceLocation, true>::push_back(clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:570:23
# | #8 0x0000000006e61d41 clang::Sema::BuildCXXNew(clang::SourceRange, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::QualType, clang::TypeSourceInfo*, std::optional<clang::Expr*>, clang::SourceRange, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:2683:29
# | #9 0x0000000006e5f994 clang::Sema::ActOnCXXNew(clang::SourceLocation, bool, clang::SourceLocation, llvm::MutableArrayRef<clang::Expr*>, clang::SourceLocation, clang::SourceRange, clang::Declarator&, clang::Expr*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Sema/SemaExprCXX.cpp:0:10
# | #10 0x000000000693e69e clang::Parser::ParseCXXNewExpression(bool, clang::SourceLocation) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExprCXX.cpp:2966:18
# | #11 0x0000000006925399 clang::Parser::ParseCastExpression(clang::CastParseKind, bool, bool&, clang::TypoCorrectionTypeBehavior, bool, bool*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:1484:9
# | #12 0x000000000691fee9 ParseCastExpression /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:594:20
# | #13 0x000000000691fee9 clang::Parser::ParseAssignmentExpression(clang::TypoCorrectionTypeBehavior) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseExpr.cpp:90:7
# | #14 0x0000000006970d70 clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:25
# | #15 0x000000000696e9b2 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:2381:7
# | #16 0x0000000006900fcb clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:10
# | #17 0x00000000069008e6 clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:1175:12
# | #18 0x00000000068ff98e clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:0:14
# | #19 0x00000000068fdbd0 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:711:10
# | #20 0x00000000068f22ae clang::ParseAST(clang::Sema&, bool, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseAST.cpp:169:5
# | #21 0x000000000665ecd6 clang::FrontendAction::Execute() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1346:10
# | #22 0x00000000065bd16a getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #23 0x00000000065bd16a operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #24 0x00000000065bd16a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1021:23
# | #25 0x00000000045018a9 clang::tooling::FrontendActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>, clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Tooling/Tooling.cpp:459:33
# | #26 0x000000000456ba3e ~__shared_count /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1070:6
# | #27 0x000000000456ba3e ~__shared_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1524:31
# | #28 0x000000000456ba3e clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem>, bool, bool, llvm::StringRef, bool)::ActionFactory::runInvocation(std::shared_ptr<clang::CompilerInvocation>, clang::FileManager*, std::shared_ptr<clang::PCHContainerOperations>, clang::DiagnosticConsumer*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clang-tidy/ClangTidy.cpp:636:7
# | #29 0x000000000450150a ~__shared_count /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1070:6
# | #30 0x000000000450150a ~__shared_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/shared_ptr_base.h:1524:31
# | #31 0x000000000450150a clang::tooling::ToolInvocation::runInvocation(char const*, clang::driver::Compilation*, std::shared_ptr<clang::CompilerInvocation>, std::shared_ptr<clang::PCHContainerOperations>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Tooling/Tooling.cpp:439:3
# | #32 0x00000000044ffd41 clang::tooling::ToolInvocation::run() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Tooling/Tooling.cpp:424:10
# | #33 0x0000000004503c54 clang::tooling::ClangTool::run(clang::tooling::ToolAction*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Tooling/Tooling.cpp:634:11
# | #34 0x000000000456603d clang::tidy::runClangTidy(clang::tidy::ClangTidyContext&, clang::tooling::CompilationDatabase const&, llvm::ArrayRef<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem>, bool, bool, llvm::StringRef, bool) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clang-tidy/ClangTidy.cpp:0:8
# | #35 0x0000000004417ddf clang::tidy::clangTidyMain(int, char const**) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp:741:7
# | #36 0x00007a0fe9a271ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #37 0x00007a0fe9a2728b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #38 0x0000000004412925 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-tidy+0x4412925)
# |
# `-----------------------------
# .---command stderr------------
# | Traceback (most recent call last):
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 558, in <module>
# | main()
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 554, in main
# | CheckRunner(args, extra_args).run()
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 426, in run
# | clang_tidy_output = self.run_clang_tidy()
# | ^^^^^^^^^^^^^^^^^^^^^
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 289, in run_clang_tidy
# | clang_tidy_output = try_run(args)
# | ^^^^^^^^^^^^^
# | File "/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/check_clang_tidy.py", line 64, in try_run
# | process_output = subprocess.check_output(args, stderr=subprocess.STDOUT).decode(
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
# | return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# | File "/usr/lib/python3.12/subprocess.py", line 571, in run
# | raise CalledProcessError(retcode, process.args,
# | subprocess.CalledProcessError: Command '['clang-tidy', '--experimental-custom-checks', '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/tools/extra/test/clang-tidy/checkers/bugprone/Output/throw-keyword-missing.cpp.tmp.cpp', '-fix', '--checks=-*,bugprone-throw-keyword-missing', '--config={}', '--', '-fexceptions', '-std=c++11', '-nostdinc++', '-isystem', '/home/gha/actions-runner/_work/llvm-project/llvm-project/clang-tools-extra/test/../test/clang-tidy/checkers/Inputs/Headers/std']' died with <Signals.SIGSEGV: 11>.
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/199995
More information about the cfe-commits
mailing list