[llvm] [Coroutines] ABI Objects to improve code separation between different ABIs, users and utilities. (PR #109338)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 14:04:26 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` while building `llvm` at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/6194

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGenCoroutines/coro-always-inline.cpp' FAILED ********************
Exit Code: 2

Command Output (stderr):
--
RUN: at line 1: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -emit-llvm -std=c++20    -O0 /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenCoroutines/coro-always-inline.cpp -o - | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenCoroutines/coro-always-inline.cpp
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -emit-llvm -std=c++20 -O0 /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenCoroutines/coro-always-inline.cpp -o -
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenCoroutines/coro-always-inline.cpp
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenCoroutines/coro-always-inline.cpp:44:41: warning: this coroutine may be split into pieces; not every piece is guaranteed to be inlined [-Walways-inline-coroutine]
   44 | __attribute__((__always_inline__)) void bar() {
      |                                         ^
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang -cc1 -internal-isystem /Users/buildbot/buildbot-root/aarch64-darwin/build/lib/clang/20/include -nostdsysteminc -triple x86_64-unknown-linux-gnu -emit-llvm -std=c++20 -O0 /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenCoroutines/coro-always-inline.cpp -o -
1.	<eof> parser at end of file
2.	Optimizer
3.	Running pass "coro-cond(coro-early,cgscc(coro-split),coro-cleanup,globaldce)" on module "/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenCoroutines/coro-always-inline.cpp"
4.	Running pass "cgscc(coro-split)" on module "/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenCoroutines/coro-always-inline.cpp"
 #0 0x000000010220f930 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x101617930)
 #1 0x000000010220d9b4 llvm::sys::RunSignalHandlers() (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x1016159b4)
 #2 0x000000010220ffec SignalHandler(int) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x101617fec)
 #3 0x00000001941a2584 (/usr/lib/system/libsystem_platform.dylib+0x18047a584)
 #4 0x00000001034bb04c llvm::CoroSplitPass::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x1028c304c)
 #5 0x0000000100f6d7c4 llvm::PassManager<llvm::LazyCallGraph::SCC, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>::run(llvm::LazyCallGraph::SCC&, llvm::AnalysisManager<llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>&, llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x1003757c4)
 #6 0x0000000100f6ec84 llvm::ModuleToPostOrderCGSCCPassAdaptor::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x100376c84)
 #7 0x000000010191808c llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x100d2008c)
 #8 0x000000010191808c llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x100d2008c)
 #9 0x000000010263b778 (anonymous namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream>>&, std::__1::unique_ptr<llvm::ToolOutputFile, std::__1::default_delete<llvm::ToolOutputFile>>&, clang::BackendConsumer*) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x101a43778)
#10 0x0000000102633b9c clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x101a3bb9c)
#11 0x0000000102a07508 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x101e0f508)
#12 0x0000000103f2dc8c clang::ParseAST(clang::Sema&, bool, bool) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x103335c8c)
#13 0x0000000102d94808 clang::FrontendAction::Execute() (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x10219c808)
#14 0x0000000102d1d8d0 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x1021258d0)
#15 0x0000000102e21928 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x102229928)
#16 0x0000000100c001e4 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x1000081e4)
#17 0x0000000100bfd714 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x100005714)
#18 0x0000000100bfcce8 clang_main(int, char**, llvm::ToolContext const&) (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x100004ce8)
#19 0x0000000100c08fb8 main (/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/clang-20+0x100010fb8)
#20 0x0000000193de7154 
FileCheck error: '<stdin>' is empty.
FileCheck command line:  /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/clang/test/CodeGenCoroutines/coro-always-inline.cpp

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/109338


More information about the llvm-commits mailing list