[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:18:00 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `llvm` at step 5 "compile-openmp".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/1566
Here is the relevant piece of the build log for the reference:
```
Step 5 (compile-openmp) failure: build (failure)
...
4.231 [5222/32/1589] Building VCIXConversions.inc...
4.235 [5221/32/1590] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/InteractiveModelRunner.cpp.o
4.253 [5220/32/1591] Building R600GenMCCodeEmitter.inc...
4.280 [5219/32/1592] Building R600GenRegisterInfo.inc...
4.300 [5218/32/1593] Building R600GenDAGISel.inc...
4.308 [5217/32/1594] Building R600GenSubtargetInfo.inc...
4.411 [5216/32/1595] Building R600GenInstrInfo.inc...
5.144 [5215/32/1596] Building X86GenFastISel.inc...
5.442 [5214/32/1597] Building X86GenGlobalISel.inc...
5.650 [5213/32/1598] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/Local.cpp.o
FAILED: lib/Analysis/CMakeFiles/LLVMAnalysis.dir/Local.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DHAS_LOGF128 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Analysis -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Analysis -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -fPIC -fno-semantic-interposition -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-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++1z -MD -MT lib/Analysis/CMakeFiles/LLVMAnalysis.dir/Local.cpp.o -MF lib/Analysis/CMakeFiles/LLVMAnalysis.dir/Local.cpp.o.d -o lib/Analysis/CMakeFiles/LLVMAnalysis.dir/Local.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Analysis/Local.cpp
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/BasicBlock.h:23:0,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Function.h:27,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/InstrTypes.h:28,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/ConstantRange.h:35,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Constants.h:29,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Operator.h:18,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/GetElementPtrTypeIterator.h:21,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Analysis/Local.cpp:17:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/DebugProgramInstruction.h: In member function ‘llvm::DbgVariableFragmentInfo llvm::DbgVariableRecord::getFragmentOrEntireVariable() const’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: invalid use of incomplete type ‘class llvm::DILocalVariable’
if (auto Sz = getVariable()->getSizeInBits())
^~
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/TrackingMDRef.h:16:0,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/DebugLoc.h:17,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/DebugProgramInstruction.h:54,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/BasicBlock.h:23,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Function.h:27,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/InstrTypes.h:28,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/ConstantRange.h:35,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Constants.h:29,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Operator.h:18,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/GetElementPtrTypeIterator.h:21,
from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Analysis/Local.cpp:17:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of ‘class llvm::DILocalVariable’
HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
^
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Metadata.h:151:38: note: in definition of macro ‘HANDLE_METADATA’
#define HANDLE_METADATA(CLASS) class CLASS;
^~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Metadata.def:57:35: note: in expansion of macro ‘HANDLE_METADATA_LEAF’
#define HANDLE_MDNODE_LEAF(CLASS) HANDLE_METADATA_LEAF(CLASS)
^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Metadata.def:67:47: note: in expansion of macro ‘HANDLE_MDNODE_LEAF’
#define HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS) HANDLE_MDNODE_LEAF(CLASS)
^~~~~~~~~~~~~~~~~~
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/IR/Metadata.def:46:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’
HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS)
```
https://github.com/llvm/llvm-project/pull/97705
More information about the llvm-commits
mailing list