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


llvm-ci wrote:

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

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
18.144 [4830/20/1727] Copying clang's avx512ifmaintrin.h...
18.145 [4830/19/1728] Copying clang's avx512ifmavlintrin.h...
18.145 [4830/18/1729] Copying clang's avx512vbmi2intrin.h...
18.146 [4830/17/1730] Copying clang's avx512vbmiintrin.h...
18.146 [4830/16/1731] Copying clang's avx512vbmivlintrin.h...
18.146 [4830/15/1732] Copying clang's avx512vlbf16intrin.h...
18.147 [4830/14/1733] Copying clang's avx512vlbitalgintrin.h...
18.365 [4830/13/1734] Building AArch64GenDisassemblerTables.inc...
18.416 [4830/12/1735] Building AArch64GenRegisterInfo.inc...
18.494 [4830/11/1736] Building CXX object tools/mlir/lib/ExecutionEngine/CMakeFiles/obj.MLIRExecutionEngineUtils.dir/OptUtils.cpp.o
FAILED: tools/mlir/lib/ExecutionEngine/CMakeFiles/obj.MLIRExecutionEngineUtils.dir/OptUtils.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/flang-aarch64-debug-reverse-iteration/build/tools/mlir/lib/ExecutionEngine -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/mlir/lib/ExecutionEngine -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/llvm/include -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/mlir/include -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/build/tools/mlir/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 -Wundef -Werror=mismatched-tags -Werror=global-constructors -g  -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT tools/mlir/lib/ExecutionEngine/CMakeFiles/obj.MLIRExecutionEngineUtils.dir/OptUtils.cpp.o -MF tools/mlir/lib/ExecutionEngine/CMakeFiles/obj.MLIRExecutionEngineUtils.dir/OptUtils.cpp.o.d -o tools/mlir/lib/ExecutionEngine/CMakeFiles/obj.MLIRExecutionEngineUtils.dir/OptUtils.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/mlir/lib/ExecutionEngine/OptUtils.cpp
In file included from ../llvm-project/mlir/lib/ExecutionEngine/OptUtils.cpp:16:
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:
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.
20.909 [4830/10/1737] Building AArch64GenAsmMatcher.inc...
20.951 [4830/9/1738] Building CXX object examples/IRTransforms/CMakeFiles/ExampleIRTransforms.dir/SimplifyCFG.cpp.o
FAILED: examples/IRTransforms/CMakeFiles/ExampleIRTransforms.dir/SimplifyCFG.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/flang-aarch64-debug-reverse-iteration/build/examples/IRTransforms -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/llvm/examples/IRTransforms -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/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 -g -fPIC  -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT examples/IRTransforms/CMakeFiles/ExampleIRTransforms.dir/SimplifyCFG.cpp.o -MF examples/IRTransforms/CMakeFiles/ExampleIRTransforms.dir/SimplifyCFG.cpp.o.d -o examples/IRTransforms/CMakeFiles/ExampleIRTransforms.dir/SimplifyCFG.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/llvm/examples/IRTransforms/SimplifyCFG.cpp
In file included from ../llvm-project/llvm/examples/IRTransforms/SimplifyCFG.cpp:35:
In file included from ../llvm-project/llvm/include/llvm/Analysis/DomTreeUpdater.h:19:
In file included from ../llvm-project/llvm/include/llvm/IR/Dominators.h:26:
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.
22.112 [4830/8/1739] Building CXX object unittests/Analysis/InlineAdvisorPlugin/CMakeFiles/InlineAdvisorPlugin.dir/InlineAdvisorPlugin.cpp.o
FAILED: unittests/Analysis/InlineAdvisorPlugin/CMakeFiles/InlineAdvisorPlugin.dir/InlineAdvisorPlugin.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/flang-aarch64-debug-reverse-iteration/build/unittests/Analysis/InlineAdvisorPlugin -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/llvm/unittests/Analysis/InlineAdvisorPlugin -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/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 -g -fPIC  -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT unittests/Analysis/InlineAdvisorPlugin/CMakeFiles/InlineAdvisorPlugin.dir/InlineAdvisorPlugin.cpp.o -MF unittests/Analysis/InlineAdvisorPlugin/CMakeFiles/InlineAdvisorPlugin.dir/InlineAdvisorPlugin.cpp.o.d -o unittests/Analysis/InlineAdvisorPlugin/CMakeFiles/InlineAdvisorPlugin.dir/InlineAdvisorPlugin.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-debug-reverse-iteration/llvm-project/llvm/unittests/Analysis/InlineAdvisorPlugin/InlineAdvisorPlugin.cpp
In file included from ../llvm-project/llvm/unittests/Analysis/InlineAdvisorPlugin/InlineAdvisorPlugin.cpp:1:
In file included from ../llvm-project/llvm/include/llvm/IR/Function.h:27:
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'

```

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


More information about the llvm-commits mailing list