[clang] [clang-repl] Address error recovery fixing infinite loop while parsing (PR #127569)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 11 00:27:51 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 86140 tests passed
* 1258 tests skipped
* 12 tests failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.Interpreter/assignment-with-implicit-ctor.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 3
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/assignment-with-implicit-ctor.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/assignment-with-implicit-ctor.cpp
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/assignment-with-implicit-ctor.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
# .---command stderr------------
# | In file included from <<< inputs >>>:1:
# | input_line_6:1:79: error: expected ';' at end of declaration list
# | 1 | struct box { box() = default; box(int *const data) : data{data} {} int *data{}; };
# | | ^
# | clang-repl: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Lex/Token.h:209: const void *clang::Token::getEofData() const: Assertion `is(tok::eof)' failed.
# | #0 0x0000000008252bd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# | #1 0x000000000825029c llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000082539a1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# | #3 0x00007d763c267330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007d763c2c0b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007d763c26727e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007d763c24a8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007d763c24a81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007d763c25d517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x0000000009d224ab grow_pod /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:140:11
# | #10 0x0000000009d224ab grow /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:528:41
# | #11 0x0000000009d224ab reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::Token, true> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:249:11
# | #12 0x0000000009d224ab reserveForParamAndGetAddress /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:533:12
# | #13 0x0000000009d224ab push_back /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:565:23
# | #14 0x0000000009d224ab clang::Parser::ParseLexedMemberInitializer(clang::Parser::LateParsedMemberInitializer&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseCXXInlineMethods.cpp:673:11
# | #15 0x0000000009d2018a clang::Parser::ParseLexedMemberInitializers(clang::Parser::ParsingClass&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseCXXInlineMethods.cpp:658:35
# | #16 0x0000000009c7bd18 operator== /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_deque.h:273:20
# | #17 0x0000000009c7bd18 empty /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_deque.h:1348:40
# | #18 0x0000000009c7bd18 empty /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_stack.h:218:18
# | #19 0x0000000009c7bd18 getCurrentClass /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:2883:5
# | #20 0x0000000009c7bd18 clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:3714:26
# | #21 0x0000000009c79814 clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:0:7
# | #22 0x0000000009c9da4f empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:46
# | #23 0x0000000009c9da4f empty /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:822:40
# | #24 0x0000000009c9da4f clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:4470:23
# | #25 0x0000000009c2ba43 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:1062:10
# | #26 0x0000000009c2b686 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:1170:12
# | #27 0x0000000009c2a6ce 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
# | #28 0x0000000009c288f0 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10
# | #29 0x0000000009c28401 clang::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:602:23
# | #30 0x0000000008d653eb clang::IncrementalParser::ParseOrWrapTopLevelDecl() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.cpp:75:3
# | #31 0x0000000008d667cb clang::IncrementalParser::Parse(llvm::StringRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.cpp:142:7
# | #32 0x0000000008d62f13 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:576:17
# | #33 0x0000000008d62f13 clang::Interpreter::Parse(llvm::StringRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:474:8
# | #34 0x0000000008d62441 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:576:17
# | #35 0x0000000008d62441 clang::Interpreter::ParseAndExecute(llvm::StringRef, clang::Value*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:529:8
# | #36 0x00000000061a4f20 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #37 0x00000000061a4f20 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #38 0x00000000061a4f20 main /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/clang-repl/ClangRepl.cpp:416:23
# | #39 0x00007d763c24c1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #40 0x00007d763c24c28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #41 0x00000000061a1165 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x61a1165)
# `-----------------------------
# error: command failed with exit status: -6
# 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/assignment-with-implicit-ctor.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/assignment-with-implicit-ctor.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.Interpreter/execute.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' 'auto r1 = printf("i = %d\n", i);' | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK-DRIVER /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/execute.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl 'int i = 10;' 'extern "C" int printf(const char*,...);' 'auto r1 = printf("i = %d\n", i);'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK-DRIVER /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/execute.cpp
# note: command had no output on stdout or stderr
# RUN: at line 6
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/execute.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/execute.cpp
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/execute.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
# .---command stderr------------
# | In file included from <<< inputs >>>:1:
# | input_line_14:1:25: error: expected ';' at end of declaration list
# | 1 | struct S { float f = 1.0; S *m = nullptr;} s;
# | | ^
# | clang-repl: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Lex/Token.h:209: const void *clang::Token::getEofData() const: Assertion `is(tok::eof)' failed.
# | #0 0x0000000008252bd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# | #1 0x000000000825029c llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000082539a1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# | #3 0x00007a8241fd4330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007a824202db2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007a8241fd427e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007a8241fb78ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007a8241fb781b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007a8241fca517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x0000000009d224ab grow_pod /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:140:11
# | #10 0x0000000009d224ab grow /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:528:41
# | #11 0x0000000009d224ab reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::Token, true> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:249:11
# | #12 0x0000000009d224ab reserveForParamAndGetAddress /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:533:12
# | #13 0x0000000009d224ab push_back /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:565:23
# | #14 0x0000000009d224ab clang::Parser::ParseLexedMemberInitializer(clang::Parser::LateParsedMemberInitializer&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseCXXInlineMethods.cpp:673:11
# | #15 0x0000000009d2018a clang::Parser::ParseLexedMemberInitializers(clang::Parser::ParsingClass&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseCXXInlineMethods.cpp:658:35
# | #16 0x0000000009c7bd18 operator== /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_deque.h:273:20
# | #17 0x0000000009c7bd18 empty /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_deque.h:1348:40
# | #18 0x0000000009c7bd18 empty /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_stack.h:218:18
# | #19 0x0000000009c7bd18 getCurrentClass /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:2883:5
# | #20 0x0000000009c7bd18 clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:3714:26
# | #21 0x0000000009c79814 clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:0:7
# | #22 0x0000000009c9da4f empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:46
# | #23 0x0000000009c9da4f empty /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:822:40
# | #24 0x0000000009c9da4f clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:4470:23
# | #25 0x0000000009c2ba43 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:1062:10
# | #26 0x0000000009c2b686 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:1170:12
# | #27 0x0000000009c2a6ce 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
# | #28 0x0000000009c288f0 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10
# | #29 0x0000000009c28401 clang::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:602:23
# | #30 0x0000000008d653eb clang::IncrementalParser::ParseOrWrapTopLevelDecl() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.cpp:75:3
# | #31 0x0000000008d667cb clang::IncrementalParser::Parse(llvm::StringRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.cpp:142:7
# | #32 0x0000000008d62f13 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:576:17
# | #33 0x0000000008d62f13 clang::Interpreter::Parse(llvm::StringRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:474:8
# | #34 0x0000000008d62441 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:576:17
# | #35 0x0000000008d62441 clang::Interpreter::ParseAndExecute(llvm::StringRef, clang::Value*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:529:8
# | #36 0x00000000061a4f20 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #37 0x00000000061a4f20 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #38 0x00000000061a4f20 main /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/clang-repl/ClangRepl.cpp:416:23
# | #39 0x00007a8241fb91ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #40 0x00007a8241fb928b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #41 0x00000000061a1165 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x61a1165)
# `-----------------------------
# error: command failed with exit status: -6
# 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/execute.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/execute.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
<details>
<summary>Clang.Interpreter/global-dtor.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 5
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/global-dtor.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/global-dtor.cpp
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/global-dtor.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
# .---command stderr------------
# | In file included from <<< inputs >>>:1:
# | input_line_9:1:25: error: expected ';' at end of declaration list
# | 1 | struct D { float f = 1.0; D *m = nullptr; D(){} ~D() { printf("D[f=%f, m=0x%llx]\n", f, reinterpret_cast<unsigned long long>(m)); }} d;
# | | ^
# | clang-repl: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Lex/Token.h:209: const void *clang::Token::getEofData() const: Assertion `is(tok::eof)' failed.
# | #0 0x0000000008252bd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# | #1 0x000000000825029c llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000082539a1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# | #3 0x00007d47db405330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007d47db45eb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007d47db40527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007d47db3e88ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007d47db3e881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007d47db3fb517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x0000000009d224ab grow_pod /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:140:11
# | #10 0x0000000009d224ab grow /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:528:41
# | #11 0x0000000009d224ab reserveForParamAndGetAddressImpl<llvm::SmallVectorTemplateBase<clang::Token, true> > /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:249:11
# | #12 0x0000000009d224ab reserveForParamAndGetAddress /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:533:12
# | #13 0x0000000009d224ab push_back /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:565:23
# | #14 0x0000000009d224ab clang::Parser::ParseLexedMemberInitializer(clang::Parser::LateParsedMemberInitializer&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseCXXInlineMethods.cpp:673:11
# | #15 0x0000000009d2018a clang::Parser::ParseLexedMemberInitializers(clang::Parser::ParsingClass&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseCXXInlineMethods.cpp:658:35
# | #16 0x0000000009c7bd18 operator== /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_deque.h:273:20
# | #17 0x0000000009c7bd18 empty /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_deque.h:1348:40
# | #18 0x0000000009c7bd18 empty /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_stack.h:218:18
# | #19 0x0000000009c7bd18 getCurrentClass /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Parse/Parser.h:2883:5
# | #20 0x0000000009c7bd18 clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributes&, unsigned int, clang::Decl*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:3714:26
# | #21 0x0000000009c79814 clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributes&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:0:7
# | #22 0x0000000009c9da4f empty /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/SmallVector.h:83:46
# | #23 0x0000000009c9da4f empty /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/Sema/ParsedAttr.h:822:40
# | #24 0x0000000009c9da4f clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*, clang::ImplicitTypenameContext) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/ParseDecl.cpp:4470:23
# | #25 0x0000000009c2ba43 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:1062:10
# | #26 0x0000000009c2b686 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:1170:12
# | #27 0x0000000009c2a6ce 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
# | #28 0x0000000009c288f0 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:706:10
# | #29 0x0000000009c28401 clang::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Parse/Parser.cpp:602:23
# | #30 0x0000000008d653eb clang::IncrementalParser::ParseOrWrapTopLevelDecl() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.cpp:75:3
# | #31 0x0000000008d667cb clang::IncrementalParser::Parse(llvm::StringRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalParser.cpp:142:7
# | #32 0x0000000008d62f13 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:576:17
# | #33 0x0000000008d62f13 clang::Interpreter::Parse(llvm::StringRef) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:474:8
# | #34 0x0000000008d62441 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:576:17
# | #35 0x0000000008d62441 clang::Interpreter::ParseAndExecute(llvm::StringRef, clang::Value*) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:529:8
# | #36 0x00000000061a4f20 getPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:278:42
# | #37 0x00000000061a4f20 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:241:16
# | #38 0x00000000061a4f20 main /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/clang-repl/ClangRepl.cpp:416:23
# | #39 0x00007d47db3ea1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #40 0x00007d47db3ea28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #41 0x00000000061a1165 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x61a1165)
# `-----------------------------
# error: command failed with exit status: -6
# 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/global-dtor.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/global-dtor.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</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------------
# | In file included from <<< inputs >>>:1:
# | input_line_13:1:53: error: expected ';' after struct
# | 1 | struct A { int a; A(int a) : a(a) {} virtual ~A(); };
# | | ^
# | | ;
# | error: Parsing failed.
# | input_line_17:1:8: error: use of undeclared identifier 'A'
# | 1 | inline A::~A() { printf("~A(%d)\n", a); }
# | | ^
# | error: Parsing failed.
# | input_line_20:1:1: error: unknown type name 'A'
# | 1 | A *a1 = new A(1);
# | | ^
# | input_line_20:1:13: error: unknown type name 'A'
# | 1 | A *a1 = new A(1);
# | | ^
# | error: Parsing failed.
# | input_line_21:1:8: error: use of undeclared identifier 'a1'
# | 1 | delete a1;
# | | ^~
# | error: Parsing failed.
# | input_line_25:1:1: error: unknown type name 'A'
# | 1 | A a2(2);
# | | ^
# | error: Parsing failed.
# | clang-repl: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:92: virtual (anonymous namespace)::CodeGeneratorImpl::~CodeGeneratorImpl(): Assertion `DeferredInlineMemberFuncDefs.empty() || Diags.hasErrorOccurred()' failed.
# | #0 0x0000000008252bd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# | #1 0x000000000825029c llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000082539a1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# | #3 0x00007d87f6f5c330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007d87f6fb5b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007d87f6f5c27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007d87f6f3f8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007d87f6f3f81b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007d87f6f52517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000933d7dc Release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:135:5
# | #10 0x000000000933d7dc release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:164:38
# | #11 0x000000000933d7dc release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:7
# | #12 0x000000000933d7dc ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:196:27
# | #13 0x000000000933d7dc (anonymous namespace)::CodeGeneratorImpl::~CodeGeneratorImpl() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:93:5
# | #14 0x000000000933d809 (anonymous namespace)::CodeGeneratorImpl::~CodeGeneratorImpl() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:89:35
# | #15 0x0000000008e86e4d ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:405:8
# | #16 0x0000000008e86e4d clang::BackendConsumer::~BackendConsumer() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendConsumer.h:27:7
# | #17 0x0000000008e87399 clang::BackendConsumer::~BackendConsumer() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendConsumer.h:27:7
# | #18 0x0000000008c51ede operator() /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:0:2
# | #19 0x0000000008c51ede ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:404:4
# | #20 0x0000000008c51ede _Destroy<std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> > > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_construct.h:151:19
# | #21 0x0000000008c51ede __destroy<std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> > *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_construct.h:163:6
# | #22 0x0000000008c51ede _Destroy<std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> > *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_construct.h:195:7
# | #23 0x0000000008c51ede _Destroy<std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> > *, std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> > > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/alloc_traits.h:948:7
# | #24 0x0000000008c51ede ~vector /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:735:2
# | #25 0x0000000008c51ede clang::MultiplexConsumer::~MultiplexConsumer() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/MultiplexConsumer.cpp:315:42
# | #26 0x0000000008d64f39 clang::InProcessPrintingASTConsumer::~InProcessPrintingASTConsumer() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalAction.h:79:7
# | #27 0x00000000082c93e7 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:206:43
# | #28 0x00000000082c93e7 clang::CompilerInstance::setASTConsumer(std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer>>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:195:7
# | #29 0x0000000008b987db ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6
# | #30 0x0000000008b987db clang::FrontendAction::EndSourceFile() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1370:5
# | #31 0x0000000008d61f51 _M_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:199:51
# | #32 0x0000000008d61f51 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:470:21
# | #33 0x0000000008d61f51 operator bool /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:487:16
# | #34 0x0000000008d61f51 clang::Interpreter::~Interpreter() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:309:7
# | #35 0x0000000008d62239 clang::Interpreter::~Interpreter() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:306:29
# | #36 0x00000000061a56fe operator() /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:0:2
# | #37 0x00000000061a56fe ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:404:4
# | #38 0x00000000061a56fe main /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/clang-repl/ClangRepl.cpp:431:1
# | #39 0x00007d87f6f411ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #40 0x00007d87f6f4128b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #41 0x00000000061a1165 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x61a1165)
# `-----------------------------
# error: command failed with exit status: -6
# 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>
<details>
<summary>Clang.Interpreter/pretty-print.cpp</summary>
```
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' 'auto r1 = printf("i = %d\n", i);' | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK-DRIVER /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/pretty-print.cpp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl 'int i = 10;' 'extern "C" int printf(const char*,...);' 'auto r1 = printf("i = %d\n", i);'
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefix=CHECK-DRIVER /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/pretty-print.cpp
# note: command had no output on stdout or stderr
# RUN: at line 6
cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/pretty-print.cpp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl -Xcc -std=c++11 -Xcc -fno-delayed-template-parsing | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/pretty-print.cpp
# executed command: cat /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Interpreter/pretty-print.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 -std=c++11 -Xcc -fno-delayed-template-parsing
# .---command stderr------------
# | In file included from <<< inputs >>>:1:
# | input_line_22:1:68: error: expected ';' after struct
# | 1 | struct S3 { int* p; S3() { p = new int(42); } ~S3() { delete p; } };
# | | ^
# | | ;
# | error: Parsing failed.
# | input_line_23:1:1: error: use of undeclared identifier 'S3'
# | 1 | S3{}
# | | ^~
# | error: Parsing failed.
# | input_line_25:1:1: error: unknown type name 'S3'
# | 1 | S3 s3;
# | | ^
# | error: Parsing failed.
# | input_line_26:1:1: error: use of undeclared identifier 's3'
# | 1 | s3
# | | ^~
# | error: Parsing failed.
# | input_line_29:1:42: error: expected ';' after struct
# | 1 | struct S4 { ~S4() { printf("~S4()\n"); }};
# | | ^
# | | ;
# | error: Parsing failed.
# | input_line_30:1:1: error: use of undeclared identifier 'S4'
# | 1 | S4{}
# | | ^~
# | error: Parsing failed.
# | input_line_58:1:38: error: expected ';' after struct
# | 1 | struct S5 { int foo() { return 42; }};
# | | ^
# | | ;
# | error: Parsing failed.
# | input_line_59:1:2: error: use of undeclared identifier 'S5'
# | 1 | &S5::foo
# | | ^
# | error: Parsing failed.
# | clang-repl: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:92: virtual (anonymous namespace)::CodeGeneratorImpl::~CodeGeneratorImpl(): Assertion `DeferredInlineMemberFuncDefs.empty() || Diags.hasErrorOccurred()' failed.
# | #0 0x0000000008252bd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
# | #1 0x000000000825029c llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
# | #2 0x00000000082539a1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
# | #3 0x00007d7691e55330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
# | #4 0x00007d7691eaeb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
# | #5 0x00007d7691e5527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
# | #6 0x00007d7691e388ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
# | #7 0x00007d7691e3881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
# | #8 0x00007d7691e4b517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
# | #9 0x000000000933d7dc Release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:135:5
# | #10 0x000000000933d7dc release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:164:38
# | #11 0x000000000933d7dc release /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:233:7
# | #12 0x000000000933d7dc ~IntrusiveRefCntPtr /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:196:27
# | #13 0x000000000933d7dc (anonymous namespace)::CodeGeneratorImpl::~CodeGeneratorImpl() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:93:5
# | #14 0x000000000933d809 (anonymous namespace)::CodeGeneratorImpl::~CodeGeneratorImpl() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:89:35
# | #15 0x0000000008e86e4d ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:405:8
# | #16 0x0000000008e86e4d clang::BackendConsumer::~BackendConsumer() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendConsumer.h:27:7
# | #17 0x0000000008e87399 clang::BackendConsumer::~BackendConsumer() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/CodeGen/BackendConsumer.h:27:7
# | #18 0x0000000008c51ede operator() /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:0:2
# | #19 0x0000000008c51ede ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:404:4
# | #20 0x0000000008c51ede _Destroy<std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> > > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_construct.h:151:19
# | #21 0x0000000008c51ede __destroy<std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> > *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_construct.h:163:6
# | #22 0x0000000008c51ede _Destroy<std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> > *> /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_construct.h:195:7
# | #23 0x0000000008c51ede _Destroy<std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> > *, std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer> > > /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/alloc_traits.h:948:7
# | #24 0x0000000008c51ede ~vector /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/stl_vector.h:735:2
# | #25 0x0000000008c51ede clang::MultiplexConsumer::~MultiplexConsumer() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/MultiplexConsumer.cpp:315:42
# | #26 0x0000000008d64f39 clang::InProcessPrintingASTConsumer::~InProcessPrintingASTConsumer() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/IncrementalAction.h:79:7
# | #27 0x00000000082c93e7 operator bool /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h:206:43
# | #28 0x00000000082c93e7 clang::CompilerInstance::setASTConsumer(std::unique_ptr<clang::ASTConsumer, std::default_delete<clang::ASTConsumer>>) /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:195:7
# | #29 0x0000000008b987db ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:403:6
# | #30 0x0000000008b987db clang::FrontendAction::EndSourceFile() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1370:5
# | #31 0x0000000008d61f51 _M_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:199:51
# | #32 0x0000000008d61f51 get /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:470:21
# | #33 0x0000000008d61f51 operator bool /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:487:16
# | #34 0x0000000008d61f51 clang::Interpreter::~Interpreter() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:309:7
# | #35 0x0000000008d62239 clang::Interpreter::~Interpreter() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/lib/Interpreter/Interpreter.cpp:306:29
# | #36 0x00000000061a56fe operator() /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:0:2
# | #37 0x00000000061a56fe ~unique_ptr /usr/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/unique_ptr.h:404:4
# | #38 0x00000000061a56fe main /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/tools/clang-repl/ClangRepl.cpp:431:1
# | #39 0x00007d7691e3a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
# | #40 0x00007d7691e3a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
# | #41 0x00000000061a1165 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-repl+0x61a1165)
# `-----------------------------
# error: command failed with exit status: -6
# 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/pretty-print.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/pretty-print.cpp
# `-----------------------------
# error: command failed with exit status: 2
--
```
</details>
### Clang-Unit
<details>
<summary>Clang-Unit.Interpreter/_/ClangReplInterpreterTests/10/27</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-10-27.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=27 GTEST_SHARD_INDEX=10 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests
--
Note: This is test shard 11 of 27.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from InterpreterTest
[ RUN ] InterpreterTest.Value
In file included from <<< inputs >>>:1:
input_line_7:1:64: error: expected ';' after struct
1 | struct S { int* p; S() { p = new int(42); } ~S() { delete p; }};
| ^
| ;
Failure value returned from cantFail wrapped call
Parsing failed.
UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:779!
#0 0x00000000078c5e08 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
#1 0x00000000078c34cc llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x00000000078c6bd1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
#3 0x0000785b78fe0330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x0000785b79039b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x0000785b78fe027e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x0000785b78fc38ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x0000000007831f6f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x7831f6f)
#8 0x00000000058e67f1 doit /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:109:5
#9 0x00000000058e67f1 doit /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:137:12
#10 0x00000000058e67f1 doit /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:127:12
#11 0x00000000058e67f1 isPossible /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:255:12
#12 0x00000000058e67f1 isPossible /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:509:12
#13 0x00000000058e67f1 isa<clang::RecordType, clang::QualType> /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Casting.h:548:11
#14 0x00000000058e67f1 isRecordType /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/include/clang/AST/TypeBase.h:8669:10
#15 0x00000000058e67f1 (anonymous namespace)::InterpreterTest_Value_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Interpreter/InterpreterTest.cpp:343:3
#16 0x00000000079229e0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#17 0x00000000079229e0 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#18 0x0000000007923ff0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#19 0x0000000007923ff0 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#20 0x0000000007924d33 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#21 0x00000000079372d4 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#22 0x0000000007936699 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#23 0x00000000079017ba main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#24 0x0000785b78fc51ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#25 0x0000785b78fc528b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#26 0x00000000058d46e5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d46e5)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-10-27.json
```
</details>
<details>
<summary>Clang-Unit.Interpreter/_/ClangReplInterpreterTests/2/27</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-2-27.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=27 GTEST_SHARD_INDEX=2 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests
--
Note: This is test shard 3 of 27.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from IncrementalProcessingTest
[ RUN ] IncrementalProcessingTest.EmitCXXGlobalInitFunc
In file included from <<< inputs >>>:1:
input_line_1:4:2: error: expected ';' after struct
4 | } test1;
| ^
| ;
Failure value returned from cantFail wrapped call
Parsing failed.
UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:841!
#0 0x00000000078c5e08 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
#1 0x00000000078c34cc llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x00000000078c6bd1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
#3 0x00007da387b8d330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007da387be6b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007da387b8d27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007da387b708ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x0000000007831f6f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x7831f6f)
#8 0x00000000058d8807 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d8807)
#9 0x00000000058d6995 (anonymous namespace)::IncrementalProcessingTest_EmitCXXGlobalInitFunc_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Interpreter/IncrementalProcessingTest.cpp:71:14
#10 0x00000000079229e0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#11 0x00000000079229e0 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#12 0x0000000007923ff0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#13 0x0000000007923ff0 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#14 0x0000000007924d33 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#15 0x00000000079372d4 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#16 0x0000000007936699 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#17 0x00000000079017ba main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#18 0x00007da387b721ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#19 0x00007da387b7228b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#20 0x00000000058d46e5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d46e5)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-2-27.json
```
</details>
<details>
<summary>Clang-Unit.Interpreter/_/ClangReplInterpreterTests/23/27</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-23-27.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=27 GTEST_SHARD_INDEX=23 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests
--
Note: This is test shard 24 of 27.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from CodeCompletionTest
[ RUN ] CodeCompletionTest.Methods
In file included from <<< inputs >>>:1:
input_line_1:1:66: error: expected ';' after struct
1 | struct Foo{int add(int a){return 42;} int par(int b){return 42;}};
| ^
| ;
Failure value returned from cantFail wrapped call
Parsing failed.
UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:841!
#0 0x00000000078c5e08 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
#1 0x00000000078c34cc llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x00000000078c6bd1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
#3 0x00007f013d6f7330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007f013d750b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007f013d6f727e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007f013d6da8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x0000000007831f6f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x7831f6f)
#8 0x00000000058d8807 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d8807)
#9 0x00000000058f1c11 assertIsChecked /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:729:9
#10 0x00000000058f1c11 ~Expected /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:566:5
#11 0x00000000058f1c11 (anonymous namespace)::CodeCompletionTest_Methods_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Interpreter/CodeCompletionTest.cpp:184:3
#12 0x00000000079229e0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#13 0x00000000079229e0 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#14 0x0000000007923ff0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#15 0x0000000007923ff0 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#16 0x0000000007924d33 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#17 0x00000000079372d4 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#18 0x0000000007936699 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#19 0x00000000079017ba main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#20 0x00007f013d6dc1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#21 0x00007f013d6dc28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#22 0x00000000058d46e5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d46e5)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-23-27.json
```
</details>
<details>
<summary>Clang-Unit.Interpreter/_/ClangReplInterpreterTests/24/27</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-24-27.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=27 GTEST_SHARD_INDEX=24 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests
--
Note: This is test shard 25 of 27.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from CodeCompletionTest
[ RUN ] CodeCompletionTest.MethodsInvocations
In file included from <<< inputs >>>:1:
input_line_1:1:66: error: expected ';' after struct
1 | struct Foo{int add(int a){return 42;} int par(int b){return 42;}};
| ^
| ;
Failure value returned from cantFail wrapped call
Parsing failed.
UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:841!
#0 0x00000000078c5e08 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
#1 0x00000000078c34cc llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x00000000078c6bd1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
#3 0x00007cad67b25330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007cad67b7eb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007cad67b2527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007cad67b088ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x0000000007831f6f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x7831f6f)
#8 0x00000000058d8807 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d8807)
#9 0x00000000058f21e4 assertIsChecked /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:729:9
#10 0x00000000058f21e4 ~Expected /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:566:5
#11 0x00000000058f21e4 (anonymous namespace)::CodeCompletionTest_MethodsInvocations_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Interpreter/CodeCompletionTest.cpp:197:3
#12 0x00000000079229e0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#13 0x00000000079229e0 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#14 0x0000000007923ff0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#15 0x0000000007923ff0 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#16 0x0000000007924d33 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#17 0x00000000079372d4 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#18 0x0000000007936699 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#19 0x00000000079017ba main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#20 0x00007cad67b0a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#21 0x00007cad67b0a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#22 0x00000000058d46e5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d46e5)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-24-27.json
```
</details>
<details>
<summary>Clang-Unit.Interpreter/_/ClangReplInterpreterTests/25/27</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-25-27.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=27 GTEST_SHARD_INDEX=25 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests
--
Note: This is test shard 26 of 27.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from CodeCompletionTest
[ RUN ] CodeCompletionTest.NestedInvocations
In file included from <<< inputs >>>:1:
input_line_1:1:66: error: expected ';' after struct
1 | struct Foo{int add(int a){return 42;} int par(int b){return 42;}};
| ^
| ;
Failure value returned from cantFail wrapped call
Parsing failed.
UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:841!
#0 0x00000000078c5e08 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
#1 0x00000000078c34cc llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x00000000078c6bd1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
#3 0x00007abcc11a3330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007abcc11fcb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007abcc11a327e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007abcc11868ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x0000000007831f6f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x7831f6f)
#8 0x00000000058d8807 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d8807)
#9 0x00000000058f2727 assertIsChecked /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:729:9
#10 0x00000000058f2727 ~Expected /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:566:5
#11 0x00000000058f2727 (anonymous namespace)::CodeCompletionTest_NestedInvocations_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Interpreter/CodeCompletionTest.cpp:210:3
#12 0x00000000079229e0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#13 0x00000000079229e0 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#14 0x0000000007923ff0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#15 0x0000000007923ff0 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#16 0x0000000007924d33 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#17 0x00000000079372d4 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#18 0x0000000007936699 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#19 0x00000000079017ba main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#20 0x00007abcc11881ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#21 0x00007abcc118828b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#22 0x00000000058d46e5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d46e5)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-25-27.json
```
</details>
<details>
<summary>Clang-Unit.Interpreter/_/ClangReplInterpreterTests/9/27</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-9-27.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=27 GTEST_SHARD_INDEX=9 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests
--
Note: This is test shard 10 of 27.
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from InterpreterTest
[ RUN ] InterpreterTest.InstantiateTemplate
In file included from <<< inputs >>>:1:
input_line_1:1:121: error: expected ';' after struct
1 | extern "C" int printf(const char*,...);class A {};struct B { template<typename T> static int callme(T) { return 42; }};
| ^
| ;
Failure value returned from cantFail wrapped call
Parsing failed.
UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:841!
#0 0x00000000078c5e08 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
#1 0x00000000078c34cc llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x00000000078c6bd1 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
#3 0x00007ecf56d69330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007ecf56dc2b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007ecf56d6927e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007ecf56d4c8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x0000000007831f6f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x7831f6f)
#8 0x00000000058d8807 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d8807)
#9 0x00000000058e0d05 assertIsChecked /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:729:9
#10 0x00000000058e0d05 ~Expected /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:566:5
#11 0x00000000058e0d05 (anonymous namespace)::InterpreterTest_InstantiateTemplate_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Interpreter/InterpreterTest.cpp:273:3
#12 0x00000000079229e0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#13 0x00000000079229e0 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#14 0x0000000007923ff0 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#15 0x0000000007923ff0 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#16 0x0000000007924d33 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#17 0x00000000079372d4 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#18 0x0000000007936699 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#19 0x00000000079017ba main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#20 0x00007ecf56d4e1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#21 0x00007ecf56d4e28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#22 0x00000000058d46e5 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests+0x58d46e5)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/./ClangReplInterpreterTests-Clang-Unit-481029-9-27.json
```
</details>
<details>
<summary>Clang-Unit.Interpreter/ExceptionTests/_/ClangReplInterpreterExceptionTests/0/1</summary>
```
Script(shard):
--
GTEST_OUTPUT=json:/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/ExceptionTests/./ClangReplInterpreterExceptionTests-Clang-Unit-481029-0-1.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=1 GTEST_SHARD_INDEX=0 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/ExceptionTests/./ClangReplInterpreterExceptionTests
--
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from InterpreterExceptionTest
[ RUN ] InterpreterExceptionTest.CatchException
In file included from <<< inputs >>>:1:
input_line_1:1:101: error: expected ';' after struct
1 | struct custom_exception { custom_exception(const char *Msg) : Message(Msg) {} const char *Message; };
| ^
| ;
Failure value returned from cantFail wrapped call
Parsing failed.
UNREACHABLE executed at /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:779!
#0 0x0000000003652648 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:842:13
#1 0x000000000364fd0c llvm::sys::RunSignalHandlers() /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Signals.cpp:109:18
#2 0x0000000003653411 SignalHandler(int, siginfo_t*, void*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/lib/Support/Unix/Signals.inc:429:38
#3 0x00007b0d2a3cb330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007b0d2a424b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007b0d2a3cb27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007b0d2a3ae8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x00000000035c993f (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/ExceptionTests/./ClangReplInterpreterExceptionTests+0x35c993f)
#8 0x0000000002e1cb7f llvm::cantFail(llvm::Error, char const*) /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:0:5
#9 0x0000000002e1c19a getChecked /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:298:41
#10 0x0000000002e1c19a assertIsChecked /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:270:9
#11 0x0000000002e1c19a ~Error /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include/llvm/Support/Error.h:233:5
#12 0x0000000002e1c19a (anonymous namespace)::InterpreterExceptionTest_CatchException_Test::TestBody() /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp:129:3
#13 0x0000000003678200 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#14 0x0000000003678200 testing::Test::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2695:9
#15 0x0000000003679810 os_stack_trace_getter /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:6240:7
#16 0x0000000003679810 testing::TestInfo::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:2842:11
#17 0x000000000367a553 testing::TestSuite::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:3018:35
#18 0x000000000368caf4 testing::internal::UnitTestImpl::RunAllTests() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5922:41
#19 0x000000000368beb9 testing::UnitTest::Run() /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/googletest/src/gtest.cc:5485:10
#20 0x0000000003656b8a main /home/gha/actions-runner/_work/llvm-project/llvm-project/third-party/unittest/UnitTestMain/TestMain.cpp:55:3
#21 0x00007b0d2a3b01ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#22 0x00007b0d2a3b028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#23 0x0000000002e1b625 _start (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/ExceptionTests/./ClangReplInterpreterExceptionTests+0x2e1b625)
--
exit: -6
--
shard JSON output does not exist: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/unittests/Interpreter/ExceptionTests/./ClangReplInterpreterExceptionTests-Clang-Unit-481029-0-1.json
```
</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/127569
More information about the cfe-commits
mailing list