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


llvm-ci wrote:

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

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
14.460 [5631/16/1448] Building XeGPUTypes.cpp.inc...
14.462 [5631/15/1449] Building TransformOps.h.inc...
14.463 [5631/14/1450] Building TransformOps.cpp.inc...
14.596 [5612/32/1451] Building AArch64GenAsmMatcher.inc...
14.696 [5612/31/1452] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/RegisterPressure.cpp.o
14.709 [5608/34/1453] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/BuiltinGCs.cpp.o
14.739 [5604/37/1454] Building AArch64GenFastISel.inc...
14.908 [5604/36/1455] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/DiagnosticHandler.cpp.o
16.428 [5602/37/1456] Building AArch64GenGlobalISel.inc...
17.446 [5598/40/1457] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/ConstantRangeList.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/ConstantRangeList.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-libcxx/build/lib/IR -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/lib/IR -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/include -stdlib=libc++ -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 -fPIC  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/IR/CMakeFiles/LLVMCore.dir/ConstantRangeList.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/ConstantRangeList.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/ConstantRangeList.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/lib/IR/ConstantRangeList.cpp
In file included from ../llvm-project/llvm/lib/IR/ConstantRangeList.cpp:9:
In file included from ../llvm-project/llvm/include/llvm/IR/ConstantRangeList.h:20:
In file included from ../llvm-project/llvm/include/llvm/IR/ConstantRange.h:35:
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.
17.606 [5598/39/1458] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/ConstantRange.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/ConstantRange.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-libcxx/build/lib/IR -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/lib/IR -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/include -stdlib=libc++ -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 -fPIC  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/IR/CMakeFiles/LLVMCore.dir/ConstantRange.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/ConstantRange.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/ConstantRange.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/lib/IR/ConstantRange.cpp
In file included from ../llvm-project/llvm/lib/IR/ConstantRange.cpp:25:
In file included from ../llvm-project/llvm/include/llvm/IR/ConstantRange.h:35:
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.
17.858 [5598/38/1459] Building AArch64GenDAGISel.inc...
19.000 [5598/37/1460] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/ConstantFold.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/ConstantFold.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-libcxx/build/lib/IR -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/lib/IR -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/include -stdlib=libc++ -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 -fPIC  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/IR/CMakeFiles/LLVMCore.dir/ConstantFold.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/ConstantFold.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/ConstantFold.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-libcxx/llvm-project/llvm/lib/IR/ConstantFold.cpp
In file included from ../llvm-project/llvm/lib/IR/ConstantFold.cpp:19:
In file included from ../llvm-project/llvm/include/llvm/IR/ConstantFold.h:24:
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:

```

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


More information about the llvm-commits mailing list