[llvm] [llvm][EmbedBitcodePass] Pre-commit test for using WPD with FatLTO (PR #139998)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu May 29 17:49:46 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-expensive-checks-debian` running on `gribozavr4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/19895
<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 'LLVM :: Transforms/EmbedBitcode/embed-wpd.ll' FAILED ********************
Exit Code: 2
Command Output (stderr):
--
/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt --mtriple x86_64-unknown-linux-gnu < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/EmbedBitcode/embed-wpd.ll -passes="embed-bitcode<thinlto>" -S | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/EmbedBitcode/embed-wpd.ll # RUN: at line 1
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt --mtriple x86_64-unknown-linux-gnu '-passes=embed-bitcode<thinlto>' -S
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/EmbedBitcode/embed-wpd.ll
LLVM ERROR: Module changed by EmbedBitcodePass without invalidating analyses
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt --mtriple x86_64-unknown-linux-gnu -passes=embed-bitcode<thinlto> -S
1. Running pass "embed-bitcode" on module "<stdin>"
#0 0x0000000004afedf7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt+0x4afedf7)
#1 0x0000000004afc8ae llvm::sys::RunSignalHandlers() (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt+0x4afc8ae)
#2 0x0000000004aff4fa SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007ff4c7e6f140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x13140)
#4 0x00007ff4c7983d61 raise (/lib/x86_64-linux-gnu/libc.so.6+0x38d61)
#5 0x00007ff4c796d537 abort (/lib/x86_64-linux-gnu/libc.so.6+0x22537)
#6 0x0000000004a5dffa llvm::report_fatal_error(llvm::Twine const&, bool) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt+0x4a5dffa)
#7 0x00000000026d996a void llvm::detail::UniqueFunctionBase<void, llvm::StringRef, llvm::Any, llvm::PreservedAnalyses const&>::CallImpl<llvm::PreservedCFGCheckerInstrumentation::registerCallbacks(llvm::PassInstrumentationCallbacks&, llvm::AnalysisManager<llvm::Module>&)::$_18>(void*, llvm::StringRef, llvm::Any&, llvm::PreservedAnalyses const&) StandardInstrumentations.cpp:0:0
#8 0x000000000492733f llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt+0x492733f)
#9 0x00000000008a305d llvm::runPassPipeline(llvm::StringRef, llvm::Module&, llvm::TargetMachine*, llvm::TargetLibraryInfoImpl*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::ToolOutputFile*, llvm::StringRef, llvm::ArrayRef<llvm::PassPlugin>, llvm::ArrayRef<std::function<void (llvm::PassBuilder&)>>, llvm::opt_tool::OutputKind, llvm::opt_tool::VerifierKind, bool, bool, bool, bool, bool, bool, bool) (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt+0x8a305d)
#10 0x0000000000898a57 optMain (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt+0x898a57)
#11 0x00007ff4c796ed7a __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d7a)
#12 0x0000000000894a1a _start (/b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt+0x894a1a)
FileCheck error: '<stdin>' is empty.
FileCheck command line: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/EmbedBitcode/embed-wpd.ll
--
********************
```
</details>
https://github.com/llvm/llvm-project/pull/139998
More information about the llvm-commits
mailing list