[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:14 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-devrel-x86-64` running on `ml-opt-devrel-x86-64-b1` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/1337
Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
18.469 [2991/64/591] Building SparcGenDAGISel.inc...
19.270 [2990/64/592] Building PPCGenFastISel.inc...
19.329 [2989/64/593] Building X86GenMnemonicTables.inc...
19.642 [2988/64/594] Building AArch64GenDAGISel.inc...
20.070 [2987/64/595] Building NVPTXGenDAGISel.inc...
20.384 [2986/64/596] Building X86GenInstrMapping.inc...
20.439 [2985/64/597] Building PPCGenDAGISel.inc...
20.489 [2984/64/598] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/DiagnosticHandler.cpp.o
21.083 [2983/64/599] Building NVPTXGenInstrInfo.inc...
22.553 [2982/64/600] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Assumptions.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/Assumptions.cpp.o
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/b/ml-opt-devrel-x86-64-b1/build/lib/IR -I/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/IR -I/var/lib/buildbot/.local/lib/python3.7/site-packages/tensorflow/include -I/b/ml-opt-devrel-x86-64-b1/build/include -I/b/ml-opt-devrel-x86-64-b1/llvm-project/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-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/IR/CMakeFiles/LLVMCore.dir/Assumptions.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/Assumptions.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/Assumptions.cpp.o -c /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/IR/Assumptions.cpp
In file included from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/BasicBlock.h:23,
from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/Function.h:27,
from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/IR/Assumptions.cpp:18:
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/DebugProgramInstruction.h: In member function ‘llvm::DbgVariableFragmentInfo llvm::DbgVariableRecord::getFragmentOrEntireVariable() const’:
/b/ml-opt-devrel-x86-64-b1/llvm-project/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 /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/TrackingMDRef.h:16,
from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/DebugLoc.h:17,
from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/DebugProgramInstruction.h:54,
from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/BasicBlock.h:23,
from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/Function.h:27,
from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/IR/Assumptions.cpp:18:
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of ‘class llvm::DILocalVariable’
110 | HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
| ^~~~~~~~~~~~~~~
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/Metadata.h:151:38: note: in definition of macro ‘HANDLE_METADATA’
151 | #define HANDLE_METADATA(CLASS) class CLASS;
| ^~~~~
/b/ml-opt-devrel-x86-64-b1/llvm-project/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)
| ^~~~~~~~~~~~~~~~~~~~
/b/ml-opt-devrel-x86-64-b1/llvm-project/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)
| ^~~~~~~~~~~~~~~~~~
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/Metadata.def:46:3: note: in expansion of macro ‘HANDLE_SPECIALIZED_MDNODE_LEAF’
46 | HANDLE_SPECIALIZED_MDNODE_LEAF(CLASS)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/b/ml-opt-devrel-x86-64-b1/llvm-project/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 /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/BasicBlock.h:23,
from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/Function.h:27,
from /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/lib/IR/Assumptions.cpp:18:
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/include/llvm/IR/DebugProgramInstruction.h:472:21: error: could not convert ‘{<expression error>, 0}’ from ‘<brace-enclosed initializer list>’ to ‘llvm::DbgVariableFragmentInfo’
472 | return {*Sz, 0};
| ^
```
https://github.com/llvm/llvm-project/pull/97705
More information about the llvm-commits
mailing list