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


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-aarch64-release` running on `linaro-flang-aarch64-release` while building `llvm` at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
7.113 [5940/14/623] Building BufferizationOpsTypes.cpp.inc...
7.113 [5940/13/624] Building PDLOpsTypes.h.inc...
7.113 [5940/12/625] Building BufferizationOps.h.inc...
7.115 [5940/11/626] Building RISCVTargetParserDef.inc...
7.122 [5940/10/627] Building AllocationOpInterface.h.inc...
7.122 [5940/9/628] Building AllocationOpInterface.cpp.inc...
7.506 [5940/8/629] Building AArch64GenFastISel.inc...
8.103 [5940/7/630] Building AArch64GenGlobalISel.inc...
8.317 [5935/11/631] Building AArch64GenDAGISel.inc...
13.136 [5935/10/632] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CycleAnalysis.cpp.o
FAILED: lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CycleAnalysis.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -DHAS_LOGF128 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-release/build/lib/Analysis -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/lib/Analysis -I/home/tcwg-buildbot/worker/flang-aarch64-release/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/include -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 -std=c++17 -MD -MT lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CycleAnalysis.cpp.o -MF lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CycleAnalysis.cpp.o.d -o lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CycleAnalysis.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/lib/Analysis/CycleAnalysis.cpp
In file included from ../llvm-project/llvm/lib/Analysis/CycleAnalysis.cpp:9:
In file included from ../llvm-project/llvm/include/llvm/Analysis/CycleAnalysis.h:18:
In file included from ../llvm-project/llvm/include/llvm/IR/CycleInfo.h:19:
In file included from ../llvm-project/llvm/include/llvm/IR/SSAContext.h:19:
In file included from ../llvm-project/llvm/include/llvm/IR/BasicBlock.h:23:
../llvm-project/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'DILocalVariable'
  471 |     if (auto Sz = getVariable()->getSizeInBits())
      |                                ^
../llvm-project/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of 'llvm::DILocalVariable'
  110 | HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
      |                                          ^
1 error generated.
14.519 [5935/9/633] Building AArch64GenSubtargetInfo.inc...
14.619 [5935/8/634] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/DDG.cpp.o
FAILED: lib/Analysis/CMakeFiles/LLVMAnalysis.dir/DDG.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -DHAS_LOGF128 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-release/build/lib/Analysis -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/lib/Analysis -I/home/tcwg-buildbot/worker/flang-aarch64-release/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/include -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 -std=c++17 -MD -MT lib/Analysis/CMakeFiles/LLVMAnalysis.dir/DDG.cpp.o -MF lib/Analysis/CMakeFiles/LLVMAnalysis.dir/DDG.cpp.o.d -o lib/Analysis/CMakeFiles/LLVMAnalysis.dir/DDG.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/lib/Analysis/DDG.cpp
In file included from ../llvm-project/llvm/lib/Analysis/DDG.cpp:11:
In file included from ../llvm-project/llvm/include/llvm/Analysis/DDG.h:18:
In file included from ../llvm-project/llvm/include/llvm/Analysis/DependenceAnalysis.h:43:
In file included from ../llvm-project/llvm/include/llvm/IR/Instructions.h:26:
In file included from ../llvm-project/llvm/include/llvm/IR/CFG.h:25:
In file included from ../llvm-project/llvm/include/llvm/IR/BasicBlock.h:23:
../llvm-project/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'DILocalVariable'
  471 |     if (auto Sz = getVariable()->getSizeInBits())
      |                                ^
../llvm-project/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of 'llvm::DILocalVariable'
  110 | HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
      |                                          ^
1 error generated.
15.017 [5935/7/635] Building AArch64GenInstrInfo.inc...
15.095 [5935/6/636] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CostModel.cpp.o
FAILED: lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CostModel.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -DHAS_LOGF128 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-release/build/lib/Analysis -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/lib/Analysis -I/home/tcwg-buildbot/worker/flang-aarch64-release/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/include -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 -std=c++17 -MD -MT lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CostModel.cpp.o -MF lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CostModel.cpp.o.d -o lib/Analysis/CMakeFiles/LLVMAnalysis.dir/CostModel.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-release/llvm-project/llvm/lib/Analysis/CostModel.cpp
In file included from ../llvm-project/llvm/lib/Analysis/CostModel.cpp:21:
In file included from ../llvm-project/llvm/include/llvm/Analysis/TargetTransformInfo.h:27:
In file included from ../llvm-project/llvm/include/llvm/IR/InstrTypes.h:28:
In file included from ../llvm-project/llvm/include/llvm/IR/Function.h:27:

```

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


More information about the llvm-commits mailing list