[Lldb-commits] [lldb] [lldb][Fortran] Added support for basic types in TypeSystemFortran (PR #218269)
via lldb-commits
lldb-commits at lists.llvm.org
Sun Aug 23 11:54:04 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
The build failed before running any tests. Click on a failure below to see the details.
<details>
<summary>[code=1] tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/TestTypeSystemFortran.cpp.obj</summary>
```
FAILED: [code=1] tools/lldb/unittests/Symbol/CMakeFiles/SymbolTests.dir/TestTypeSystemFortran.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\_work\llvm-project\llvm-project\build\tools\lldb\unittests\Symbol -IC:\_work\llvm-project\llvm-project\lldb\unittests\Symbol -IC:\_work\llvm-project\llvm-project\lldb\include -IC:\_work\llvm-project\llvm-project\build\tools\lldb\include -IC:\_work\llvm-project\llvm-project\build\include -IC:\_work\llvm-project\llvm-project\llvm\include -IC:\_work\llvm-project\llvm-project\llvm\..\clang\include -IC:\_work\llvm-project\llvm-project\build\tools\lldb\..\clang\include -IC:\_work\llvm-project\llvm-project\lldb\source -IC:\_work\llvm-project\llvm-project\lldb\unittests -IC:\_work\llvm-project\llvm-project\third-party\unittest\googletest\include -IC:\_work\llvm-project\llvm-project\third-party\unittest\googlemock\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -Wno-vla-extension /O2 /Ob2 -std:c++17 -MD -wd4018 -wd4068 -wd4150 -wd4201 -wd4250 -wd4251 -wd4521 -wd4530 -wd4589 -UNDEBUG -Wno-suggest-override -Wno-gnu-zero-variadic-macro-arguments /EHs-c- /GR- /showIncludes /Fotools\lldb\unittests\Symbol\CMakeFiles\SymbolTests.dir\TestTypeSystemFortran.cpp.obj /Fdtools\lldb\unittests\Symbol\CMakeFiles\SymbolTests.dir\ -c -- C:\_work\llvm-project\llvm-project\lldb\unittests\Symbol\TestTypeSystemFortran.cpp
In file included from C:\_work\llvm-project\llvm-project\lldb\unittests\Symbol\TestTypeSystemFortran.cpp:9:
In file included from C:\_work\llvm-project\llvm-project\lldb\source\Plugins/TypeSystem/Fortran/FortranTypes.h:17:
In file included from C:\_work\llvm-project\llvm-project\lldb\source\Plugins/SymbolFile/DWARF/DWARFDIE.h:12:
In file included from C:\_work\llvm-project\llvm-project\lldb\source\Plugins/SymbolFile/DWARF\DWARFBaseDIE.h:12:
In file included from C:\_work\llvm-project\llvm-project\lldb\include\lldb/Core/dwarf.h:15:
In file included from C:\_work\llvm-project\llvm-project\llvm\include\llvm/BinaryFormat/Dwarf.h:26:
In file included from C:\_work\llvm-project\llvm-project\llvm\include\llvm/Support/Format.h:25:
In file included from C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/ArrayRef.h:12:
In file included from C:\_work\llvm-project\llvm-project\llvm\include\llvm/ADT/Hashing.h:52:
In file included from C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\algorithm:12:
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\xmemory(2218,9): error: field type 'lldb_private::TypeSystemFortran' is an abstract class
2218 | _Ty _Value; // workaround for VSO-586813 "T^ is not allowed in a union"
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\memory(2113,33): note: in instantiation of template class 'std::_Wrap<lldb_private::TypeSystemFortran>' requested here
2113 | _Wrap<remove_cv_t<_Ty>> _Storage;
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\memory(2112,5): note: in instantiation of member class 'std::_Ref_count_obj2<lldb_private::TypeSystemFortran>::(anonymous union at C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\memory:2112:5)' requested here
2112 | union {
| ^
C:\BuildTools\VC\Tools\MSVC\14.44.35207\include\memory(2913,26): note: in instantiation of template class 'std::_Ref_count_obj2<lldb_private::TypeSystemFortran>' requested here
2913 | const auto _Rx = new _Ref_count_obj2<_Ty>(_STD forward<_Types>(_Args)...);
| ^
C:\_work\llvm-project\llvm-project\lldb\unittests\Symbol\TestTypeSystemFortran.cpp(27,42): note: in instantiation of function template specialization 'std::make_shared<lldb_private::TypeSystemFortran>' requested here
27 | TypeSystemFortranHolder() : m_ast(std::make_shared<TypeSystemFortran>()) {}
| ^
C:\_work\llvm-project\llvm-project\lldb\include\lldb/Symbol/TypeSystem.h(230,24): note: unimplemented pure virtual method 'GetSizeType' in 'TypeSystemFortran'
230 | virtual CompilerType GetSizeType() = 0;
| ^
1 error generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/218269
More information about the lldb-commits
mailing list