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

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 07:32:04 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `llvm` at step 7 "test-build-unified-tree-check-llvm".

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

Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
...
0.876 [3/10/668] Building CXX object unittests/Target/AMDGPU/CMakeFiles/AMDGPUTests.dir/AMDGPUUnitTests.cpp.o
1.101 [2/10/669] Linking CXX executable unittests/Target/LoongArch/LoongArchTests
1.103 [2/9/670] Linking CXX executable unittests/Target/WebAssembly/WebAssemblyTests
1.105 [2/8/671] Linking CXX executable unittests/Target/VE/VETests
1.227 [2/7/672] Linking CXX executable unittests/Target/ARM/ARMTests
1.673 [2/6/673] Linking CXX executable unittests/Target/RISCV/RISCVTests
1.734 [2/5/674] Linking CXX executable unittests/Target/AArch64/AArch64Tests
1.773 [2/4/675] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
2.293 [2/3/676] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
2.358 [2/2/677] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o
FAILED: unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -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/b/1/llvm-x86_64-debian-dylib/build/unittests/Transforms/Utils -I/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/unittests/Transforms/Utils -I/b/1/llvm-x86_64-debian-dylib/build/include -I/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/include -I/b/1/llvm-x86_64-debian-dylib/llvm-project/third-party/unittest/googletest/include -I/b/1/llvm-x86_64-debian-dylib/llvm-project/third-party/unittest/googlemock/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 -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -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 /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/unittests/Transforms/Utils/DXILResourceTest.cpp
/b/1/llvm-x86_64-debian-dylib/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
/usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/x86_64-linux-gnu/c++/10/bits/c++config.h:268:29: note: 'std::nullptr_t' declared here
  typedef decltype(nullptr)     nullptr_t;
                                ^
1 error generated.
2.768 [2/1/678] Linking CXX executable unittests/Target/AMDGPU/AMDGPUTests
ninja: build stopped: subcommand failed.

```

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


More information about the llvm-commits mailing list