[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:16 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` running on `gribozavr4` while building `llvm` at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
5.524 [4533/96/1298] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/GVMaterializer.cpp.o
5.733 [4532/96/1299] Building X86GenRegisterBank.inc...
5.781 [4531/96/1300] Building AArch64GenDAGISel.inc...
5.997 [4530/96/1301] Building X86GenCallingConv.inc...
6.051 [4529/96/1302] Building X86GenExegesis.inc...
6.362 [4528/96/1303] Building X86GenMnemonicTables.inc...
6.550 [4527/96/1304] Building X86GenAsmWriter.inc...
6.574 [4526/96/1305] Building X86GenAsmWriter1.inc...
6.639 [4525/96/1306] Building RISCVGenSearchableTables.inc...
6.787 [4524/96/1307] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Assumptions.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/Assumptions.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -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/1/clang-x86_64-debian-fast/llvm.obj/lib/IR -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/IR -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include -std=c++11 -Wdocumentation -Wno-documentation-deprecated-sync -fPIC -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 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/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/IR/Assumptions.cpp
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/IR/Assumptions.cpp:18:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/Function.h:27:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/BasicBlock.h:23:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'llvm::DILocalVariable'
    if (auto Sz = getVariable()->getSizeInBits())
                               ^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of 'llvm::DILocalVariable'
HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
                                         ^
1 error generated.
6.818 [4524/95/1308] Building X86GenInstrMapping.inc...
6.886 [4524/94/1309] Building X86GenDisassemblerTables.inc...
7.065 [4524/93/1310] Building X86GenFoldTables.inc...
7.087 [4524/92/1311] Building X86GenAsmMatcher.inc...
7.322 [4524/91/1312] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/DiagnosticPrinter.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/DiagnosticPrinter.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -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/1/clang-x86_64-debian-fast/llvm.obj/lib/IR -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/IR -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include -std=c++11 -Wdocumentation -Wno-documentation-deprecated-sync -fPIC -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 lib/IR/CMakeFiles/LLVMCore.dir/DiagnosticPrinter.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/DiagnosticPrinter.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/DiagnosticPrinter.cpp.o -c /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/IR/DiagnosticPrinter.cpp
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/IR/DiagnosticPrinter.cpp:15:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/Module.h:25:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/Function.h:27:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/BasicBlock.h:23:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'llvm::DILocalVariable'
    if (auto Sz = getVariable()->getSizeInBits())
                               ^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of 'llvm::DILocalVariable'
HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
                                         ^
1 error generated.
7.388 [4524/90/1313] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/CycleInfo.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/CycleInfo.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -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/1/clang-x86_64-debian-fast/llvm.obj/lib/IR -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/IR -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include -std=c++11 -Wdocumentation -Wno-documentation-deprecated-sync -fPIC -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 lib/IR/CMakeFiles/LLVMCore.dir/CycleInfo.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/CycleInfo.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/CycleInfo.cpp.o -c /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/IR/CycleInfo.cpp
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/IR/CycleInfo.cpp:9:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/CycleInfo.h:19:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/SSAContext.h:19:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/BasicBlock.h:23:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'llvm::DILocalVariable'
    if (auto Sz = getVariable()->getSizeInBits())

```

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


More information about the llvm-commits mailing list