llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[clang][OpenMP] Assertion `D.DeclIdent && "Identifier expected."' failed.

Open k-arrows opened this issue 3 months ago • 4 comments

Reproducer: https://godbolt.org/z/q3cGrqeWY

void foo() {
#pragma omp depobj depend(iterator(int))
}

Backtrace:

clang++: /root/llvm-project/llvm/tools/clang/lib/Sema/SemaOpenMP.cpp:26717: clang::ExprResult clang::SemaOpenMP::ActOnOMPIteratorExpr(clang::Scope*, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, llvm::ArrayRef<clang::SemaOpenMP::OMPIteratorData>): Assertion `D.DeclIdent && "Identifier expected."' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
Stack dump:
0.	Program arguments: /opt/compiler-explorer/clang-assertions-trunk/bin/clang++ -g -o /app/output.s -mllvm --x86-asm-syntax=intel -fno-verbose-asm -S --gcc-toolchain=/opt/compiler-explorer/gcc-snapshot -fcolor-diagnostics -fno-crash-diagnostics -fopenmp <source>
1.	<source>:2:40: current parser token ')'
2.	<source>:1:12: parsing function body 'foo'
3.	<source>:1:12: in compound statement ('{}')
 #0 0x000000000440f3f8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x440f3f8)
 #1 0x000000000440c2a4 llvm::sys::RunSignalHandlers() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x440c2a4)
 #2 0x000000000440c8dc llvm::sys::CleanupOnSignal(unsigned long) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x440c8dc)
 #3 0x000000000434af68 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
 #4 0x000072abe0245330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
 #5 0x000072abe029ec0c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9ec0c)
 #6 0x000072abe024527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
 #7 0x000072abe02288ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
 #8 0x000072abe022881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
 #9 0x000072abe023b517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
#10 0x00000000075bcc2c clang::SemaOpenMP::ActOnOMPIteratorExpr(clang::Scope*, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, llvm::ArrayRef<clang::SemaOpenMP::OMPIteratorData>) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x75bcc2c)
#11 0x0000000006e33e34 clang::Parser::ParseOpenMPIteratorsExpr() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e33e34)
#12 0x0000000006e357ab clang::Parser::ParseOpenMPVarList(llvm::omp::Directive, llvm::omp::Clause, llvm::SmallVectorImpl<clang::Expr*>&, clang::SemaOpenMP::OpenMPVarListDataTy&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e357ab)
#13 0x0000000006e37c72 clang::Parser::ParseOpenMPVarListClause(llvm::omp::Directive, llvm::omp::Clause, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e37c72)
#14 0x0000000006e37ff1 clang::Parser::ParseOpenMPClause(llvm::omp::Directive, llvm::omp::Clause, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e37ff1)
#15 0x0000000006e39f49 clang::Parser::ParseOpenMPExecutableDirective(clang::Parser::ParsedStmtContext, llvm::omp::Directive, clang::SourceLocation, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e39f49)
#16 0x0000000006e45b45 clang::Parser::ParseOpenMPDeclarativeOrExecutableDirective(clang::Parser::ParsedStmtContext, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e45b45)
#17 0x0000000006e66c1c clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::LabelDecl*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e66c1c)
#18 0x0000000006e68109 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 24u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::LabelDecl*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e68109)
#19 0x0000000006e70625 clang::Parser::ParseCompoundStatementBody(bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e70625)
#20 0x0000000006e70e6a clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e70e6a)
#21 0x0000000006d6df5d clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::LateParsedAttrList*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d6df5d)
#22 0x0000000006db79c6 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo&, clang::SourceLocation*, clang::Parser::ForRangeInit*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6db79c6)
#23 0x0000000006d6238b clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec&, clang::AccessSpecifier) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d6238b)
#24 0x0000000006d62b7f clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*, clang::AccessSpecifier) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d62b7f)
#25 0x0000000006d6f338 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d6f338)
#26 0x0000000006d70295 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d70295)
#27 0x0000000006d70680 clang::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d70680)
#28 0x0000000006d4d1bc clang::ParseAST(clang::Sema&, bool, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d4d1bc)
#29 0x0000000004f19c18 clang::CodeGenAction::ExecuteAction() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4f19c18)
#30 0x0000000005246988 clang::FrontendAction::Execute() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x5246988)
#31 0x00000000051d46dd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x51d46dd)
#32 0x000000000531c3dd clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x531c3dd)
#33 0x0000000000db239c cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xdb239c)
#34 0x0000000000da8faa ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>) driver.cpp:0:0
#35 0x0000000000da912d int llvm::function_ref<int (llvm::SmallVectorImpl<char const*>&)>::callback_fn<clang_main(int, char**, llvm::ToolContext const&)::'lambda'(llvm::SmallVectorImpl<char const*>&)>(long, llvm::SmallVectorImpl<char const*>&) driver.cpp:0:0
#36 0x0000000004f92719 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::'lambda'()>(long) Job.cpp:0:0
#37 0x000000000434b3a4 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x434b3a4)
#38 0x0000000004f93285 clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (.part.0) Job.cpp:0:0
#39 0x0000000004f4b102 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4f4b102)
#40 0x0000000004f4fa67 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4f4fa67)
#41 0x0000000004f5a055 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4f5a055)
#42 0x0000000000dae88a clang_main(int, char**, llvm::ToolContext const&) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xdae88a)
#43 0x0000000000cca41a main (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xcca41a)
#44 0x000072abe022a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#45 0x000072abe022a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#46 0x0000000000da8955 _start (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xda8955)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
Compiler returned: 134

k-arrows avatar Aug 21 '26 11:08 k-arrows

Goes back to clang-11: https://godbolt.org/z/5nMrT7vc6

k-arrows avatar Aug 21 '26 11:08 k-arrows

@llvm/issue-subscribers-clang-frontend

Author: k-arrows

Reproducer: https://godbolt.org/z/q3cGrqeWY ```cpp void foo() { #pragma omp depobj depend(iterator(int)) } ```

Backtrace:

clang++: /root/llvm-project/llvm/tools/clang/lib/Sema/SemaOpenMP.cpp:26717: clang::ExprResult clang::SemaOpenMP::ActOnOMPIteratorExpr(clang::Scope*, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, llvm::ArrayRef&lt;clang::SemaOpenMP::OMPIteratorData&gt;): Assertion `D.DeclIdent &amp;&amp; "Identifier expected."' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and dumped files.
Stack dump:
0.	Program arguments: /opt/compiler-explorer/clang-assertions-trunk/bin/clang++ -g -o /app/output.s -mllvm --x86-asm-syntax=intel -fno-verbose-asm -S --gcc-toolchain=/opt/compiler-explorer/gcc-snapshot -fcolor-diagnostics -fno-crash-diagnostics -fopenmp &lt;source&gt;
1.	&lt;source&gt;:2:40: current parser token ')'
2.	&lt;source&gt;:1:12: parsing function body 'foo'
3.	&lt;source&gt;:1:12: in compound statement ('{}')
 #<!-- -->0 0x000000000440f3f8 llvm::sys::PrintStackTrace(llvm::raw_ostream&amp;, int) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x440f3f8)
 #<!-- -->1 0x000000000440c2a4 llvm::sys::RunSignalHandlers() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x440c2a4)
 #<!-- -->2 0x000000000440c8dc llvm::sys::CleanupOnSignal(unsigned long) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x440c8dc)
 #<!-- -->3 0x000000000434af68 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
 #<!-- -->4 0x000072abe0245330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
 #<!-- -->5 0x000072abe029ec0c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9ec0c)
 #<!-- -->6 0x000072abe024527e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
 #<!-- -->7 0x000072abe02288ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
 #<!-- -->8 0x000072abe022881b (/lib/x86_64-linux-gnu/libc.so.6+0x2881b)
 #<!-- -->9 0x000072abe023b517 (/lib/x86_64-linux-gnu/libc.so.6+0x3b517)
#<!-- -->10 0x00000000075bcc2c clang::SemaOpenMP::ActOnOMPIteratorExpr(clang::Scope*, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, llvm::ArrayRef&lt;clang::SemaOpenMP::OMPIteratorData&gt;) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x75bcc2c)
#<!-- -->11 0x0000000006e33e34 clang::Parser::ParseOpenMPIteratorsExpr() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e33e34)
#<!-- -->12 0x0000000006e357ab clang::Parser::ParseOpenMPVarList(llvm::omp::Directive, llvm::omp::Clause, llvm::SmallVectorImpl&lt;clang::Expr*&gt;&amp;, clang::SemaOpenMP::OpenMPVarListDataTy&amp;) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e357ab)
#<!-- -->13 0x0000000006e37c72 clang::Parser::ParseOpenMPVarListClause(llvm::omp::Directive, llvm::omp::Clause, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e37c72)
#<!-- -->14 0x0000000006e37ff1 clang::Parser::ParseOpenMPClause(llvm::omp::Directive, llvm::omp::Clause, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e37ff1)
#<!-- -->15 0x0000000006e39f49 clang::Parser::ParseOpenMPExecutableDirective(clang::Parser::ParsedStmtContext, llvm::omp::Directive, clang::SourceLocation, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e39f49)
#<!-- -->16 0x0000000006e45b45 clang::Parser::ParseOpenMPDeclarativeOrExecutableDirective(clang::Parser::ParsedStmtContext, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e45b45)
#<!-- -->17 0x0000000006e66c1c clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector&lt;clang::Stmt*, 24u&gt;&amp;, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::ParsedAttributes&amp;, clang::ParsedAttributes&amp;, clang::LabelDecl*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e66c1c)
#<!-- -->18 0x0000000006e68109 clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector&lt;clang::Stmt*, 24u&gt;&amp;, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::LabelDecl*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e68109)
#<!-- -->19 0x0000000006e70625 clang::Parser::ParseCompoundStatementBody(bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e70625)
#<!-- -->20 0x0000000006e70e6a clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&amp;) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6e70e6a)
#<!-- -->21 0x0000000006d6df5d clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&amp;, clang::Parser::ParsedTemplateInfo const&amp;, clang::LateParsedAttrList*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d6df5d)
#<!-- -->22 0x0000000006db79c6 clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&amp;, clang::DeclaratorContext, clang::ParsedAttributes&amp;, clang::Parser::ParsedTemplateInfo&amp;, clang::SourceLocation*, clang::Parser::ForRangeInit*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6db79c6)
#<!-- -->23 0x0000000006d6238b clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributes&amp;, clang::ParsedAttributes&amp;, clang::ParsingDeclSpec&amp;, clang::AccessSpecifier) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d6238b)
#<!-- -->24 0x0000000006d62b7f clang::Parser::ParseDeclarationOrFunctionDefinition(clang::ParsedAttributes&amp;, clang::ParsedAttributes&amp;, clang::ParsingDeclSpec*, clang::AccessSpecifier) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d62b7f)
#<!-- -->25 0x0000000006d6f338 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&amp;, clang::ParsedAttributes&amp;, clang::ParsingDeclSpec*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d6f338)
#<!-- -->26 0x0000000006d70295 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr&lt;clang::DeclGroupRef&gt;&amp;, clang::Sema::ModuleImportState&amp;) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d70295)
#<!-- -->27 0x0000000006d70680 clang::Parser::ParseFirstTopLevelDecl(clang::OpaquePtr&lt;clang::DeclGroupRef&gt;&amp;, clang::Sema::ModuleImportState&amp;) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d70680)
#<!-- -->28 0x0000000006d4d1bc clang::ParseAST(clang::Sema&amp;, bool, bool) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x6d4d1bc)
#<!-- -->29 0x0000000004f19c18 clang::CodeGenAction::ExecuteAction() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4f19c18)
#<!-- -->30 0x0000000005246988 clang::FrontendAction::Execute() (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x5246988)
#<!-- -->31 0x00000000051d46dd clang::CompilerInstance::ExecuteAction(clang::FrontendAction&amp;) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x51d46dd)
#<!-- -->32 0x000000000531c3dd clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x531c3dd)
#<!-- -->33 0x0000000000db239c cc1_main(llvm::ArrayRef&lt;char const*&gt;, char const*, void*) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xdb239c)
#<!-- -->34 0x0000000000da8faa ExecuteCC1Tool(llvm::SmallVectorImpl&lt;char const*&gt;&amp;, llvm::ToolContext const&amp;, llvm::IntrusiveRefCntPtr&lt;llvm::vfs::FileSystem&gt;) driver.cpp:0:0
#<!-- -->35 0x0000000000da912d int llvm::function_ref&lt;int (llvm::SmallVectorImpl&lt;char const*&gt;&amp;)&gt;::callback_fn&lt;clang_main(int, char**, llvm::ToolContext const&amp;)::'lambda'(llvm::SmallVectorImpl&lt;char const*&gt;&amp;)&gt;(long, llvm::SmallVectorImpl&lt;char const*&gt;&amp;) driver.cpp:0:0
#<!-- -->36 0x0000000004f92719 void llvm::function_ref&lt;void ()&gt;::callback_fn&lt;clang::driver::CC1Command::Execute(llvm::ArrayRef&lt;std::optional&lt;llvm::StringRef&gt;&gt;, std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt;&gt;*, bool*) const::'lambda'()&gt;(long) Job.cpp:0:0
#<!-- -->37 0x000000000434b3a4 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref&lt;void ()&gt;) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x434b3a4)
#<!-- -->38 0x0000000004f93285 clang::driver::CC1Command::Execute(llvm::ArrayRef&lt;std::optional&lt;llvm::StringRef&gt;&gt;, std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt;&gt;*, bool*) const (.part.0) Job.cpp:0:0
#<!-- -->39 0x0000000004f4b102 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&amp;, clang::driver::Command const*&amp;, bool) const (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4f4b102)
#<!-- -->40 0x0000000004f4fa67 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&amp;, llvm::SmallVectorImpl&lt;std::pair&lt;int, clang::driver::Command const*&gt;&gt;&amp;, bool) const (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4f4fa67)
#<!-- -->41 0x0000000004f5a055 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&amp;, llvm::SmallVectorImpl&lt;std::pair&lt;int, clang::driver::Command const*&gt;&gt;&amp;) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0x4f5a055)
#<!-- -->42 0x0000000000dae88a clang_main(int, char**, llvm::ToolContext const&amp;) (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xdae88a)
#<!-- -->43 0x0000000000cca41a main (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xcca41a)
#<!-- -->44 0x000072abe022a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#<!-- -->45 0x000072abe022a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#<!-- -->46 0x0000000000da8955 _start (/opt/compiler-explorer/clang-assertions-trunk/bin/clang+++0xda8955)
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
Compiler returned: 134

Created a PR fixing this: #220308

AhmedKamel10 avatar Sep 01 '26 17:09 AhmedKamel10

@k-arrows Gentle ping on this in case you’ve had a chance to take a look. Thanks!

AhmedKamel10 avatar Sep 06 '26 16:09 AhmedKamel10