[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:11 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 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/1239

Here is the relevant piece of the build log for the reference:
```
Step 6 (build-unified-tree) failure: build (failure)
...
[1187/4667] Building CXX object tools\clang\lib\Basic\CMakeFiles\obj.clangBasic.dir\Version.cpp.obj
[1188/4667] Building CXX object tools\clang\lib\Sema\CMakeFiles\obj.clangSema.dir\SemaTemplateInstantiate.cpp.obj
[1189/4667] Building CXX object tools\clang\lib\Sema\CMakeFiles\obj.clangSema.dir\SemaTemplateDeduction.cpp.obj
[1190/4667] Building CXX object tools\clang\lib\Sema\CMakeFiles\obj.clangSema.dir\SemaTemplate.cpp.obj
[1191/4667] Building CXX object tools\clang\lib\Sema\CMakeFiles\obj.clangSema.dir\SemaType.cpp.obj
[1192/4667] Building CXX object tools\clang\lib\Sema\CMakeFiles\obj.clangSema.dir\SemaTemplateInstantiateDecl.cpp.obj
[1193/4667] Building CXX object lib\IR\CMakeFiles\LLVMCore.dir\DiagnosticHandler.cpp.obj
[1194/4667] Building X86GenFastISel.inc...
[1195/4667] Building X86GenGlobalISel.inc...
[1196/4667] Building CXX object lib\IR\CMakeFiles\LLVMCore.dir\Assumptions.cpp.obj
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/Assumptions.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 -Ilib\IR -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\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 /Folib\IR\CMakeFiles\LLVMCore.dir\Assumptions.cpp.obj /Fdlib\IR\CMakeFiles\LLVMCore.dir\LLVMCore.pdb /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR\Assumptions.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(471): error C2027: use of undefined type 'llvm::DILocalVariable'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/Metadata.def(110): note: see declaration of 'llvm::DILocalVariable'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(471): error C3536: 'Sz': cannot be used before it is initialized
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(472): error C2100: illegal indirection
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(472): error C2398: Element '1': conversion from 'int' to 'uint64_t' requires a narrowing conversion
[1197/4667] Building CXX object lib\IR\CMakeFiles\LLVMCore.dir\CycleInfo.cpp.obj
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/CycleInfo.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 -Ilib\IR -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\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 /Folib\IR\CMakeFiles\LLVMCore.dir\CycleInfo.cpp.obj /Fdlib\IR\CMakeFiles\LLVMCore.dir\LLVMCore.pdb /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR\CycleInfo.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(471): error C2027: use of undefined type 'llvm::DILocalVariable'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/Metadata.def(110): note: see declaration of 'llvm::DILocalVariable'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(471): error C3536: 'Sz': cannot be used before it is initialized
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(472): error C2100: illegal indirection
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(472): error C2398: Element '1': conversion from 'int' to 'uint64_t' requires a narrowing conversion
[1198/4667] Building CXX object lib\IR\CMakeFiles\LLVMCore.dir\ConstantRange.cpp.obj
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/ConstantRange.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 -Ilib\IR -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\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 /Folib\IR\CMakeFiles\LLVMCore.dir\ConstantRange.cpp.obj /Fdlib\IR\CMakeFiles\LLVMCore.dir\LLVMCore.pdb /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR\ConstantRange.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(471): error C2027: use of undefined type 'llvm::DILocalVariable'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/Metadata.def(110): note: see declaration of 'llvm::DILocalVariable'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(471): error C3536: 'Sz': cannot be used before it is initialized
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(472): error C2100: illegal indirection
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(472): error C2398: Element '1': conversion from 'int' to 'uint64_t' requires a narrowing conversion
[1199/4667] Building CXX object lib\IR\CMakeFiles\LLVMCore.dir\Comdat.cpp.obj
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/Comdat.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 -Ilib\IR -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\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 /Folib\IR\CMakeFiles\LLVMCore.dir\Comdat.cpp.obj /Fdlib\IR\CMakeFiles\LLVMCore.dir\LLVMCore.pdb /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR\Comdat.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(471): error C2027: use of undefined type 'llvm::DILocalVariable'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/Metadata.def(110): note: see declaration of 'llvm::DILocalVariable'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(471): error C3536: 'Sz': cannot be used before it is initialized
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(472): error C2100: illegal indirection
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(472): error C2398: Element '1': conversion from 'int' to 'uint64_t' requires a narrowing conversion
[1200/4667] Building CXX object lib\IR\CMakeFiles\LLVMCore.dir\DataLayout.cpp.obj
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/DataLayout.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 -Ilib\IR -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\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 /Folib\IR\CMakeFiles\LLVMCore.dir\DataLayout.cpp.obj /Fdlib\IR\CMakeFiles\LLVMCore.dir\LLVMCore.pdb /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\IR\DataLayout.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(471): error C2027: use of undefined type 'llvm::DILocalVariable'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/Metadata.def(110): note: see declaration of 'llvm::DILocalVariable'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(471): error C3536: 'Sz': cannot be used before it is initialized
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(472): error C2100: illegal indirection
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/IR/DebugProgramInstruction.h(472): error C2398: Element '1': conversion from 'int' to 'uint64_t' requires a narrowing conversion

```

https://github.com/llvm/llvm-project/pull/97705


More information about the llvm-commits mailing list