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


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve-vla` running on `linaro-g3-03` while building `llvm` at step 6 "build stage 1".

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

Here is the relevant piece of the build log for the reference:
```
Step 6 (build stage 1) failure: 'ninja' (failure)
[1/2484] Generating VCSRevision.h
[2/2484] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Assumptions.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/Assumptions.cpp.o 
/usr/local/bin/c++ -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/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/lib/IR -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/IR -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/include -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/include -mcpu=neoverse-512tvb -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 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 /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/IR/Assumptions.cpp
In file included from ../llvm/llvm/lib/IR/Assumptions.cpp:18:
In file included from ../llvm/llvm/include/llvm/IR/Function.h:27:
In file included from ../llvm/llvm/include/llvm/IR/BasicBlock.h:23:
../llvm/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'DILocalVariable'
  471 |     if (auto Sz = getVariable()->getSizeInBits())
      |                                ^
../llvm/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of 'llvm::DILocalVariable'
  110 | HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
      |                                          ^
1 error generated.
[3/2484] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/AbstractCallSite.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/AbstractCallSite.cpp.o 
/usr/local/bin/c++ -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/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/lib/IR -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/IR -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/include -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/include -mcpu=neoverse-512tvb -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 lib/IR/CMakeFiles/LLVMCore.dir/AbstractCallSite.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/AbstractCallSite.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/AbstractCallSite.cpp.o -c /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/IR/AbstractCallSite.cpp
In file included from ../llvm/llvm/lib/IR/AbstractCallSite.cpp:17:
In file included from ../llvm/llvm/include/llvm/IR/AbstractCallSite.h:17:
In file included from ../llvm/llvm/include/llvm/IR/Constants.h:29:
In file included from ../llvm/llvm/include/llvm/IR/ConstantRange.h:35:
In file included from ../llvm/llvm/include/llvm/IR/InstrTypes.h:28:
In file included from ../llvm/llvm/include/llvm/IR/Function.h:27:
In file included from ../llvm/llvm/include/llvm/IR/BasicBlock.h:23:
../llvm/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'DILocalVariable'
  471 |     if (auto Sz = getVariable()->getSizeInBits())
      |                                ^
../llvm/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of 'llvm::DILocalVariable'
  110 | HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
      |                                          ^
1 error generated.
[4/2484] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/BasicBlock.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/BasicBlock.cpp.o 
/usr/local/bin/c++ -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/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/lib/IR -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/IR -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/include -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/include -mcpu=neoverse-512tvb -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 lib/IR/CMakeFiles/LLVMCore.dir/BasicBlock.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/BasicBlock.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/BasicBlock.cpp.o -c /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/IR/BasicBlock.cpp
In file included from ../llvm/llvm/lib/IR/BasicBlock.cpp:13:
In file included from ../llvm/llvm/include/llvm/IR/BasicBlock.h:23:
../llvm/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'DILocalVariable'
  471 |     if (auto Sz = getVariable()->getSizeInBits())
      |                                ^
../llvm/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of 'llvm::DILocalVariable'
  110 | HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
      |                                          ^
1 error generated.
[5/2484] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Attributes.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/Attributes.cpp.o 
/usr/local/bin/c++ -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/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/lib/IR -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/IR -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/stage1/include -I/home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/include -mcpu=neoverse-512tvb -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 lib/IR/CMakeFiles/LLVMCore.dir/Attributes.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/Attributes.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/Attributes.cpp.o -c /home/tcwg-buildbot/worker/clang-aarch64-sve-vla/llvm/llvm/lib/IR/Attributes.cpp
In file included from ../llvm/llvm/lib/IR/Attributes.cpp:16:
In file included from ../llvm/llvm/lib/IR/AttributeImpl.h:23:
In file included from ../llvm/llvm/include/llvm/IR/ConstantRange.h:35:
In file included from ../llvm/llvm/include/llvm/IR/InstrTypes.h:28:

```

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


More information about the llvm-commits mailing list