[llvm] [Transforms][DXIL] Tool to generate resource metadata and annotations (PR #98939)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 11:07:58 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `llvm` at step 4 "annotate".

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

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[607/640] Linking CXX executable unittests/TextAPI/TextAPITests
[608/640] Linking CXX executable unittests/ProfileData/ProfileDataTests
[609/640] Linking CXX executable unittests/TargetParser/TargetParserTests
[610/640] Linking CXX executable unittests/TableGen/TableGenTests
[611/640] Linking CXX executable unittests/XRay/XRayTests
[612/640] Linking CXX executable unittests/Bitcode/BitcodeTests
[613/640] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
[614/640] Linking CXX executable unittests/FuzzMutate/FuzzMutateTests
[615/640] Linking CXX executable unittests/Support/SupportTests
[616/640] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o
FAILED: unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o 
/usr/bin/ccache  /home/buildbot/install/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/unittests/Transforms/Utils -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/Transforms/Utils -I/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/third-party/unittest/googletest/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/third-party/unittest/googlemock/include -O2 -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 -O2 -g -DNDEBUG  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -std=c++17 -MD -MT unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o -MF unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o.d -o unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o -c /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/Transforms/Utils/DXILResourceTest.cpp
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/Transforms/Utils/DXILResourceTest.cpp:60:52: error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'?
  void appendMDs(SmallVectorImpl<Metadata *> &MDs, nullptr_t V, Ts... More) {
                                                   ^~~~~~~~~
                                                   std::nullptr_t
/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h:2367:29: note: 'std::nullptr_t' declared here
  typedef decltype(nullptr)     nullptr_t;
                                ^
1 error generated.
[617/640] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
[618/640] Linking CXX executable unittests/Transforms/IPO/IPOTests
[619/640] Linking CXX executable unittests/MIR/MIRTests
[620/640] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
[621/640] Linking CXX executable unittests/MI/MITests
[622/640] Linking CXX executable unittests/Target/VE/VETests
[623/640] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
[624/640] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
[625/640] Linking CXX executable unittests/Passes/PassBuilderBindings/PassesBindingsTests
[626/640] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[627/640] Linking CXX executable unittests/Passes/Plugins/PluginsTests
[628/640] Linking CXX executable unittests/Frontend/LLVMFrontendTests
[629/640] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
[630/640] Linking CXX executable unittests/IR/IRTests
[631/640] Linking CXX executable unittests/Target/TargetMachineCTests
[632/640] Linking CXX executable unittests/Analysis/AnalysisTests
[633/640] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
[634/640] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
[635/640] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[636/640] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
[637/640] Linking CXX executable unittests/CodeGen/CodeGenTests
[638/640] Linking CXX executable unittests/Target/X86/X86Tests
ninja: build stopped: subcommand failed.
make: *** [check-llvm] Error 1
['make', '-f', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-zorg/zorg/buildbot/builders/annotated/ve-linux-steps.make', 'check-llvm', 'BUILDROOT=/scratch/buildbot/bothome/clang-ve-ninja/build'] exited with return code 2.
The build step threw an exception...
Traceback (most recent call last):
  File "../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py", line 47, in step
    yield
Step 8 (check-llvm) failure: check-llvm (failure)
...
[607/640] Linking CXX executable unittests/TextAPI/TextAPITests
[608/640] Linking CXX executable unittests/ProfileData/ProfileDataTests
[609/640] Linking CXX executable unittests/TargetParser/TargetParserTests
[610/640] Linking CXX executable unittests/TableGen/TableGenTests
[611/640] Linking CXX executable unittests/XRay/XRayTests
[612/640] Linking CXX executable unittests/Bitcode/BitcodeTests
[613/640] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
[614/640] Linking CXX executable unittests/FuzzMutate/FuzzMutateTests
[615/640] Linking CXX executable unittests/Support/SupportTests
[616/640] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o
FAILED: unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o 
/usr/bin/ccache  /home/buildbot/install/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/unittests/Transforms/Utils -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/Transforms/Utils -I/scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/third-party/unittest/googletest/include -I/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/third-party/unittest/googlemock/include -O2 -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 -O2 -g -DNDEBUG  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -std=c++17 -MD -MT unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o -MF unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o.d -o unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o -c /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/Transforms/Utils/DXILResourceTest.cpp
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/unittests/Transforms/Utils/DXILResourceTest.cpp:60:52: error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'?
  void appendMDs(SmallVectorImpl<Metadata *> &MDs, nullptr_t V, Ts... More) {
                                                   ^~~~~~~~~
                                                   std::nullptr_t
/opt/rh/devtoolset-10/root/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/x86_64-redhat-linux/bits/c++config.h:2367:29: note: 'std::nullptr_t' declared here
  typedef decltype(nullptr)     nullptr_t;
                                ^
1 error generated.
[617/640] Linking CXX executable unittests/Transforms/Vectorize/VectorizeTests
[618/640] Linking CXX executable unittests/Transforms/IPO/IPOTests
[619/640] Linking CXX executable unittests/MIR/MIRTests
[620/640] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
[621/640] Linking CXX executable unittests/MI/MITests
[622/640] Linking CXX executable unittests/Target/VE/VETests
[623/640] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
[624/640] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
[625/640] Linking CXX executable unittests/Passes/PassBuilderBindings/PassesBindingsTests
[626/640] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[627/640] Linking CXX executable unittests/Passes/Plugins/PluginsTests
[628/640] Linking CXX executable unittests/Frontend/LLVMFrontendTests
[629/640] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
[630/640] Linking CXX executable unittests/IR/IRTests
[631/640] Linking CXX executable unittests/Target/TargetMachineCTests
[632/640] Linking CXX executable unittests/Analysis/AnalysisTests
[633/640] Linking CXX executable unittests/Transforms/Instrumentation/InstrumentationTests
[634/640] Linking CXX executable unittests/Transforms/Coroutines/CoroTests
[635/640] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
[636/640] Linking CXX executable unittests/ExecutionEngine/MCJIT/MCJITTests
[637/640] Linking CXX executable unittests/CodeGen/CodeGenTests
[638/640] Linking CXX executable unittests/Target/X86/X86Tests
ninja: build stopped: subcommand failed.
make: *** [check-llvm] Error 1
['make', '-f', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-zorg/zorg/buildbot/builders/annotated/ve-linux-steps.make', 'check-llvm', 'BUILDROOT=/scratch/buildbot/bothome/clang-ve-ninja/build'] exited with return code 2.
The build step threw an exception...
Traceback (most recent call last):
  File "../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py", line 47, in step
    yield

```

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


More information about the llvm-commits mailing list