[llvm] [NFC] Add fragment-getting functions to DbgRecord (PR #97705)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 01:19:05 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux` running on `systemz-1` while building `llvm` at step 5 "compile-openmp".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/88/builds/679
Here is the relevant piece of the build log for the reference:
```
Step 5 (compile-openmp) failure: build (failure)
...
3.536 [4684/4/368] Building COFFOptions.inc...
3.633 [4683/4/369] Linking CXX executable bin/FileCheck
4.562 [4682/4/370] Building AArch64TargetParserDef.inc...
4.630 [4681/4/371] Building AArch64GenExegesis.inc...
5.042 [4680/4/372] Building ARMGenDAGISel.inc...
5.733 [4679/4/373] Building AArch64GenFastISel.inc...
6.390 [4678/4/374] Building RISCVTargetParserDef.inc...
7.422 [4677/4/375] Building AArch64GenAsmMatcher.inc...
7.507 [4676/4/376] Building AArch64GenGlobalISel.inc...
10.609 [4675/4/377] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BranchRelaxation.cpp.o
FAILED: lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BranchRelaxation.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/c++ -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/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/lib/CodeGen -I/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/lib/CodeGen -I/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.build/include -I/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BranchRelaxation.cpp.o -MF lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BranchRelaxation.cpp.o.d -o lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/BranchRelaxation.cpp.o -c /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/lib/CodeGen/BranchRelaxation.cpp
In file included from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/BasicBlock.h:23,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/Function.h:27,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/InstrTypes.h:28,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/CodeGen/MachineInstrBuilder.h:30,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/CodeGen/TargetInstrInfo.h:26,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/lib/CodeGen/BranchRelaxation.cpp:17:
/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/DebugProgramInstruction.h: In member function 'llvm::DbgVariableFragmentInfo llvm::DbgVariableRecord::getFragmentOrEntireVariable() const':
/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: invalid use of incomplete type 'class llvm::DILocalVariable'
471 | if (auto Sz = getVariable()->getSizeInBits())
| ^~
In file included from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/Analysis/MemoryLocation.h:19,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/CodeGen/MachineInstr.h:23,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/CodeGen/MachineBasicBlock.h:21,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/CodeGen/LivePhysRegs.h:33,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/lib/CodeGen/BranchRelaxation.cpp:11:
/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of 'class llvm::DILocalVariable'
110 | HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
| ^~~~~~~~~~~~~~~
/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/Metadata.h:151:38: note: in definition of macro 'HANDLE_METADATA'
151 | #define HANDLE_METADATA(CLASS) class CLASS;
| ^~~~~
/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/Metadata.def:57:35: note: in expansion of macro 'HANDLE_METADATA_LEAF'
57 | #define HANDLE_MDNODE_LEAF(CLASS) HANDLE_METADATA_LEAF(CLASS)
| ^~~~~~~~~~~~~~~~~~~~
/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/Metadata.def:67:47: note: in expansion of macro 'HANDLE_MDNODE_LEAF'
67 | #define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS)
| ^~~~~~~~~~~~~~~~~~
/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/Metadata.def:46:3: note: in expansion of macro 'HANDLE_SPECIALIZED_MDNODE_LEAF'
46 | HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/Metadata.def:110:1: note: in expansion of macro 'HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE'
110 | HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/BasicBlock.h:23,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/Function.h:27,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/IR/InstrTypes.h:28,
from /home/uweigand/sandbox/buildbot/openmp-s390x-linux/llvm.src/llvm/include/llvm/CodeGen/MachineInstrBuilder.h:30,
```
https://github.com/llvm/llvm-project/pull/97705
More information about the llvm-commits
mailing list