[llvm] Split DWARFFormValue::getReference into four functions (PR #98905)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 04:19:42 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `llvm` at step 6 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/3089
Here is the relevant piece of the build log for the reference:
```
Step 6 (build-unified-tree) failure: build (failure)
...
9.097 [3238/58/57] Building CXX object lib/DWARFLinker/Parallel/CMakeFiles/LLVMDWARFLinkerParallel.dir/DWARFLinkerUnit.cpp.o
9.278 [3237/58/58] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFStreamer.cpp.o
9.438 [3236/58/59] Building CXX object lib/ExecutionEngine/Orc/Debugging/CMakeFiles/LLVMOrcDebugging.dir/DebuggerSupportPlugin.cpp.o
11.296 [3235/58/60] Building CXX object lib/DWARFLinker/Parallel/CMakeFiles/LLVMDWARFLinkerParallel.dir/DWARFLinkerCompileUnit.cpp.o
11.329 [3234/58/61] Building CXX object lib/DWARFLinker/Parallel/CMakeFiles/LLVMDWARFLinkerParallel.dir/DWARFLinkerTypeUnit.cpp.o
11.584 [3233/58/62] Building CXX object lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVDWARFReader.cpp.o
11.726 [3232/58/63] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/BinarySection.cpp.o
11.775 [3231/58/64] Building CXX object lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/LVReaderHandler.cpp.o
11.798 [3230/58/65] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/GDBIndex.cpp.o
11.801 [3229/58/66] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/DIEBuilder.cpp.o
FAILED: tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/DIEBuilder.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DBUILD_EXAMPLES -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/build/buildbot/premerge-monolithic-linux/build/tools/bolt/lib/Core -I/build/buildbot/premerge-monolithic-linux/llvm-project/bolt/lib/Core -I/build/buildbot/premerge-monolithic-linux/build/include -I/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include -I/build/buildbot/premerge-monolithic-linux/llvm-project/bolt/include -I/build/buildbot/premerge-monolithic-linux/build/tools/bolt/include -gmlt -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 -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/DIEBuilder.cpp.o -MF tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/DIEBuilder.cpp.o.d -o tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/DIEBuilder.cpp.o -c /build/buildbot/premerge-monolithic-linux/llvm-project/bolt/lib/Core/DIEBuilder.cpp
/build/buildbot/premerge-monolithic-linux/llvm-project/bolt/lib/Core/DIEBuilder.cpp:559:34: error: no member named 'getAsReference' in 'llvm::DWARFFormValue'; did you mean 'getAsReferenceUVal'?
uint64_t RefOffset = *RefValue.getAsReference();
^~~~~~~~~~~~~~
getAsReferenceUVal
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h:122:27: note: 'getAsReferenceUVal' declared here
std::optional<uint64_t> getAsReferenceUVal() const;
^
/build/buildbot/premerge-monolithic-linux/llvm-project/bolt/lib/Core/DIEBuilder.cpp:610:29: error: no member named 'getAsReference' in 'llvm::DWARFFormValue'; did you mean 'getAsReferenceUVal'?
const uint64_t Ref = *Val.getAsReference();
^~~~~~~~~~~~~~
getAsReferenceUVal
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h:122:27: note: 'getAsReferenceUVal' declared here
std::optional<uint64_t> getAsReferenceUVal() const;
^
2 errors generated.
12.146 [3229/57/67] Building CXX object lib/ProfileData/CMakeFiles/LLVMProfileData.dir/MemProfReader.cpp.o
12.215 [3229/56/68] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFContext.cpp.o
13.243 [3229/55/69] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/AddressMap.cpp.o
13.494 [3229/54/70] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/BinaryFunctionProfile.cpp.o
13.631 [3229/53/71] Building CXX object lib/DWARFLinker/Parallel/CMakeFiles/LLVMDWARFLinkerParallel.dir/DWARFLinkerImpl.cpp.o
13.734 [3229/52/72] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/DebugNames.cpp.o
13.906 [3229/51/73] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/DebugData.cpp.o
13.999 [3229/50/74] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/DynoStats.cpp.o
14.177 [3229/49/75] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/JumpTable.cpp.o
14.259 [3229/48/76] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFVerifier.cpp.o
14.282 [3229/47/77] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/BinaryFunctionCallGraph.cpp.o
14.356 [3229/46/78] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/BinaryBasicBlock.cpp.o
14.490 [3229/45/79] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/HashUtilities.cpp.o
14.649 [3229/44/80] Building CXX object tools/bolt/tools/merge-fdata/CMakeFiles/merge-fdata.dir/merge-fdata.cpp.o
14.841 [3229/43/81] Building CXX object tools/bolt/lib/Passes/CMakeFiles/LLVMBOLTPasses.dir/ADRRelaxationPass.cpp.o
14.849 [3229/42/82] Building CXX object tools/bolt/lib/Passes/CMakeFiles/LLVMBOLTPasses.dir/Aligner.cpp.o
15.231 [3229/41/83] Building CXX object tools/bolt/lib/Passes/CMakeFiles/LLVMBOLTPasses.dir/DataflowAnalysis.cpp.o
15.277 [3229/40/84] Building CXX object tools/bolt/lib/Passes/CMakeFiles/LLVMBOLTPasses.dir/CMOVConversion.cpp.o
15.461 [3229/39/85] Building CXX object tools/bolt/lib/Core/CMakeFiles/LLVMBOLTCore.dir/ParallelUtilities.cpp.o
15.565 [3229/38/86] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
15.645 [3229/37/87] Building CXX object tools/bolt/lib/Passes/CMakeFiles/LLVMBOLTPasses.dir/AllocCombiner.cpp.o
15.923 [3229/36/88] Building CXX object tools/bolt/lib/Passes/CMakeFiles/LLVMBOLTPasses.dir/CacheMetrics.cpp.o
```
https://github.com/llvm/llvm-project/pull/98905
More information about the llvm-commits
mailing list