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


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `llvm` at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
6.288 [5396/8/406] Building AArch64GenFastISel.inc...
6.290 [5395/8/407] Building RISCVTargetParserDef.inc...
6.609 [5394/8/408] Building AArch64GenDAGISel.inc...
6.733 [5393/8/409] Building AArch64GenGlobalISel.inc...
6.848 [5392/8/410] Building AArch64GenPostLegalizeGILowering.inc...
6.860 [5391/8/411] Building AArch64GenPostLegalizeGICombiner.inc...
7.033 [5390/8/412] Building AArch64GenPreLegalizeGICombiner.inc...
7.297 [5389/8/413] Building AArch64GenRegisterBank.inc...
7.314 [5388/8/414] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/BuiltinGCs.cpp.o
7.522 [5387/8/415] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/AbstractCallSite.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/AbstractCallSite.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /opt/homebrew/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/buildbot/buildbot-root/aarch64-darwin/build/lib/IR -I/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/lib/IR -I/Users/buildbot/buildbot-root/aarch64-darwin/build/include -I/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include -isystem /opt/homebrew/include -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 -O3 -DNDEBUG -std=c++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -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 /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/lib/IR/AbstractCallSite.cpp
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/lib/IR/AbstractCallSite.cpp:17:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/AbstractCallSite.h:17:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/Constants.h:29:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/ConstantRange.h:35:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/InstrTypes.h:28:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/Function.h:27:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/BasicBlock.h:23:
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'DILocalVariable'
    if (auto Sz = getVariable()->getSizeInBits())
                               ^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of 'llvm::DILocalVariable'
HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
                                         ^
1 error generated.
7.808 [5387/7/416] 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 /opt/homebrew/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/buildbot/buildbot-root/aarch64-darwin/build/lib/IR -I/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/lib/IR -I/Users/buildbot/buildbot-root/aarch64-darwin/build/include -I/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include -isystem /opt/homebrew/include -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 -O3 -DNDEBUG -std=c++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -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 /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/lib/IR/Assumptions.cpp
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/lib/IR/Assumptions.cpp:18:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/Function.h:27:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/BasicBlock.h:23:
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'DILocalVariable'
    if (auto Sz = getVariable()->getSizeInBits())
                               ^
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/Metadata.def:110:42: note: forward declaration of 'llvm::DILocalVariable'
HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DILocalVariable)
                                         ^
1 error generated.
8.307 [5387/6/417] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Comdat.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/Comdat.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /opt/homebrew/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/buildbot/buildbot-root/aarch64-darwin/build/lib/IR -I/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/lib/IR -I/Users/buildbot/buildbot-root/aarch64-darwin/build/include -I/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include -isystem /opt/homebrew/include -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 -O3 -DNDEBUG -std=c++17 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/IR/CMakeFiles/LLVMCore.dir/Comdat.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/Comdat.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/Comdat.cpp.o -c /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/lib/IR/Comdat.cpp
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/lib/IR/Comdat.cpp:19:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/Module.h:25:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/Function.h:27:
In file included from /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/BasicBlock.h:23:
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/include/llvm/IR/DebugProgramInstruction.h:471:32: error: member access into incomplete type 'DILocalVariable'
    if (auto Sz = getVariable()->getSizeInBits())
                               ^

```

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


More information about the llvm-commits mailing list