[llvm] [CodeGen] Use temp symbol for MBBs (PR #95031)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 20 04:22:36 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clangd-ubuntu-tsan` running on `clangd-ubuntu-clang` while building `llvm` at step 5 "build-clangd-clangd-index-server-clangd-indexer".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/134/builds/356
Here is the relevant piece of the build log for the reference:
```
Step 5 (build-clangd-clangd-index-server-clangd-indexer) failure: build (failure)
...
23.122 [1888/18/1166] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCTargetOptionsCommandFlags.cpp.o
23.135 [1887/18/1167] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCValue.cpp.o
23.207 [1886/18/1168] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWasmObjectTargetWriter.cpp.o
23.271 [1885/18/1169] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWasmStreamer.cpp.o
23.309 [1884/18/1170] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCFragment.cpp.o
23.684 [1883/18/1171] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfo.cpp.o
23.722 [1882/18/1172] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinEH.cpp.o
23.785 [1881/18/1173] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCXCOFFObjectTargetWriter.cpp.o
23.847 [1880/18/1174] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCXCOFFStreamer.cpp.o
23.885 [1879/18/1175] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
FAILED: lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o
ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/lib/MC -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/lib/MC -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/build/include -I/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -gline-tables-only -fsanitize=thread -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o -MF lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o.d -o lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o -c /vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/lib/MC/MCContext.cpp
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/lib/MC/MCContext.cpp:328:61: error: invalid operands to binary expression ('StringRef' and 'const Twine')
328 | return createRenamableSymbol(MAI->getPrivateLabelPrefix() << Name,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/Twine.h:572:23: note: candidate function not viable: no known conversion from 'StringRef' to 'raw_ostream &' for 1st argument
572 | inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) {
| ^ ~~~~~~~~~~~~~~~
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/Support/raw_ostream.h:783:14: note: candidate function not viable: no known conversion from 'StringRef' to 'raw_ostream &' for 1st argument
783 | raw_ostream &operator<<(raw_ostream &OS, std::nullopt_t);
| ^ ~~~~~~~~~~~~~~~
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/Support/VersionTuple.h:191:14: note: candidate function not viable: no known conversion from 'StringRef' to 'raw_ostream &' for 1st argument
191 | raw_ostream &operator<<(raw_ostream &Out, const VersionTuple &V);
| ^ ~~~~~~~~~~~~~~~~
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/ADT/APInt.h:2128:21: note: candidate function not viable: no known conversion from 'StringRef' to 'raw_ostream &' for 1st argument
2128 | inline raw_ostream &operator<<(raw_ostream &OS, const APInt &I) {
| ^ ~~~~~~~~~~~~~~~
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/MC/MCInst.h:241:21: note: candidate function not viable: no known conversion from 'StringRef' to 'raw_ostream &' for 1st argument
241 | inline raw_ostream& operator<<(raw_ostream &OS, const MCOperand &MO) {
| ^ ~~~~~~~~~~~~~~~
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/MC/MCInst.h:246:21: note: candidate function not viable: no known conversion from 'StringRef' to 'raw_ostream &' for 1st argument
246 | inline raw_ostream& operator<<(raw_ostream &OS, const MCInst &MI) {
| ^ ~~~~~~~~~~~~~~~
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/MC/MCExpr.h:138:21: note: candidate function not viable: no known conversion from 'StringRef' to 'raw_ostream &' for 1st argument
138 | inline raw_ostream &operator<<(raw_ostream &OS, const MCExpr &E) {
| ^ ~~~~~~~~~~~~~~~
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/MC/MCLabel.h:49:21: note: candidate function not viable: no known conversion from 'StringRef' to 'raw_ostream &' for 1st argument
49 | inline raw_ostream &operator<<(raw_ostream &OS, const MCLabel &Label) {
| ^ ~~~~~~~~~~~~~~~
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/MC/MCSymbol.h:437:21: note: candidate function not viable: no known conversion from 'StringRef' to 'raw_ostream &' for 1st argument
437 | inline raw_ostream &operator<<(raw_ostream &OS, const MCSymbol &Sym) {
| ^ ~~~~~~~~~~~~~~~
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/Support/raw_ostream.h:437:1: note: candidate template ignored: requirement 'std::is_base_of_v<llvm::raw_ostream, llvm::StringRef>' was not satisfied [with OStream = StringRef, T = Twine]
437 | operator<<(OStream &&OS, const T &Value) {
| ^
/vol/worker/clangd-ubuntu-clang/clangd-ubuntu-tsan/llvm-project/llvm/include/llvm/Support/raw_ostream.h:787:14: note: candidate template ignored: could not match 'const std::optional<T>' against 'const Twine'
787 | raw_ostream &operator<<(raw_ostream &OS, const std::optional<T> &O) {
| ^
1 error generated.
```
https://github.com/llvm/llvm-project/pull/95031
More information about the llvm-commits
mailing list