[llvm] [DebugInfo][InstrRef] Index DebugVariables and some DILocations (PR #99318)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 07:08:55 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `llvm` at step 7 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/1868
Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
...
[1088/1106] Linking CXX executable unittests\ExecutionEngine\MCJIT\MCJITTests.exe
[1089/1106] Linking CXX executable unittests\IR\IRTests.exe
[1090/1106] Linking CXX executable unittests\Passes\PassBuilderBindings\PassesBindingsTests.exe
[1091/1106] Linking CXX executable unittests\tools\llvm-cfi-verify\CFIVerifyTests.exe
[1092/1106] Linking CXX executable tools\clang\unittests\CodeGen\ClangCodeGenTests.exe
[1093/1106] Linking CXX executable unittests\Target\TargetMachineCTests.exe
[1094/1106] Linking CXX executable unittests\Transforms\Coroutines\CoroTests.exe
[1095/1106] Linking CXX executable unittests\Transforms\Instrumentation\InstrumentationTests.exe
[1096/1106] Linking CXX executable tools\clang\unittests\Frontend\FrontendTests.exe
[1097/1106] Building CXX object unittests\CodeGen\CMakeFiles\CodeGenTests.dir\InstrRefLDVTest.cpp.obj
FAILED: unittests/CodeGen/CMakeFiles/CodeGenTests.dir/InstrRefLDVTest.cpp.obj
C:\bin\ccache.exe C:\PROGRA~2\MICROS~1\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /nologo /TP -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests\CodeGen -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\unittests\CodeGen -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\third-party\unittest\googletest\include -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -w14062 -we4238 /Gw /O2 /Ob2 -MD /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Founittests\CodeGen\CMakeFiles\CodeGenTests.dir\InstrRefLDVTest.cpp.obj /Fdunittests\CodeGen\CMakeFiles\CodeGenTests.dir\ /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\unittests\CodeGen\InstrRefLDVTest.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\unittests\CodeGen\InstrRefLDVTest.cpp(224): error C2664: 'void LiveDebugValues::InstrRefBasedLDV::buildVLocValueMap(const llvm::DILocation *,const llvm::SmallSet<LiveDebugValues::DebugVariableID,4,std::less<unsigned int>> &,llvm::SmallPtrSetImpl<PtrType> &,LiveDebugValues::InstrRefBasedLDV::LiveInsT &,LiveDebugValues::FuncValueTable &,LiveDebugValues::FuncValueTable &,llvm::SmallVectorImpl<LiveDebugValues::VLocTracker> &)': cannot convert argument 2 from 'const llvm::SmallSet<llvm::DebugVariable,4,std::less<T>>' to 'const llvm::SmallSet<LiveDebugValues::DebugVariableID,4,std::less<unsigned int>> &'
with
[
PtrType=llvm::MachineBasicBlock *
]
and
[
T=llvm::DebugVariable
]
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\unittests\CodeGen\InstrRefLDVTest.cpp(225): note: Reason: cannot convert from 'const llvm::SmallSet<llvm::DebugVariable,4,std::less<T>>' to 'const llvm::SmallSet<LiveDebugValues::DebugVariableID,4,std::less<unsigned int>>'
with
[
T=llvm::DebugVariable
]
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\unittests\CodeGen\InstrRefLDVTest.cpp(224): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\../lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.h(1436): note: see declaration of 'LiveDebugValues::InstrRefBasedLDV::buildVLocValueMap'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\unittests\CodeGen\InstrRefLDVTest.cpp(2649): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'LiveDebugValues::VLocTracker'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\unittests\CodeGen\InstrRefLDVTest.cpp(2649): note: No constructor could take the source type, or constructor overload resolution was ambiguous
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\unittests\CodeGen\InstrRefLDVTest.cpp(2661): error C2664: 'std::pair<std::pair<KeyT,ValueT> *,bool> llvm::MapVector<KeyT,ValueT,llvm::DenseMap<KeyT,unsigned int,llvm::DenseMapInfo<unsigned int,void>,llvm::detail::DenseMapPair<KeyT,unsigned int>>,llvm::SmallVector<std::pair<KeyT,ValueT>,0>>::insert(const std::pair<KeyT,ValueT> &)': cannot convert argument 1 from 'initializer list' to 'const std::pair<KeyT,ValueT> &'
with
[
KeyT=LiveDebugValues::DebugVariableID,
ValueT=LiveDebugValues::DbgValue
]
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\unittests\CodeGen\InstrRefLDVTest.cpp(2661): note: Reason: cannot convert from 'initializer list' to 'const std::pair<KeyT,ValueT>'
with
[
KeyT=LiveDebugValues::DebugVariableID,
ValueT=LiveDebugValues::DbgValue
]
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\unittests\CodeGen\InstrRefLDVTest.cpp(2661): note: No constructor could take the source type, or constructor overload resolution was ambiguous
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/MapVector.h(141): note: see declaration of 'llvm::MapVector<LiveDebugValues::DebugVariableID,LiveDebugValues::DbgValue,llvm::DenseMap<unsigned int,unsigned int,llvm::DenseMapInfo<unsigned int,void>,llvm::detail::DenseMapPair<KeyT,ValueT>>,llvm::SmallVector<std::pair<KeyT,LiveDebugValues::DbgValue>,0>>::insert'
with
[
KeyT=unsigned int,
ValueT=unsigned int
]
```
https://github.com/llvm/llvm-project/pull/99318
More information about the llvm-commits
mailing list