[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 14:41:30 PDT 2024


llvm-ci wrote:

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

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

Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
                    ^~~~~~~
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/unittests/Tooling/RecursiveASTVisitorTests/BitfieldInitializer.cpp:9:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/unittests/Tooling/TestVisitor.h:21:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Frontend/FrontendAction.h:23:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Frontend/ASTUnit.h:28:
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Sema/CodeCompleteConsumer.h:338:31: warning: '@class' command should not be used in a comment attached to a non-class declaration [-Wdocumentation]
    /// Code completion in a @class forward declaration.
                             ~^~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
82.641 [15/67/1090] 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/clang-x86_64-debian-fast/llvm.obj/unittests/Transforms/Utils -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/unittests/Transforms/Utils -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include -I/b/1/clang-x86_64-debian-fast/llvm.src/third-party/unittest/googletest/include -I/b/1/clang-x86_64-debian-fast/llvm.src/third-party/unittest/googlemock/include -std=c++11 -Wdocumentation -Wno-documentation-deprecated-sync -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/clang-x86_64-debian-fast/llvm.src/llvm/unittests/Transforms/Utils/DXILResourceTest.cpp
/b/1/clang-x86_64-debian-fast/llvm.src/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.
82.780 [15/66/1091] Building CXX object tools/clang/unittests/CodeGen/CMakeFiles/ClangCodeGenTests.dir/TBAAMetadataTest.cpp.o
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/unittests/CodeGen/TBAAMetadataTest.cpp:10:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/unittests/CodeGen/TestCompiler.h:17:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Frontend/CompilerInstance.h:16:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Frontend/CompilerInvocation.h:23:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:17:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Analysis/PathDiagnostic.h:17:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Analysis/AnalysisDeclContext.h:22:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Analysis/CFG.h:18:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/ExprCXX.h:21:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/DeclCXX.h:22:
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/Expr.h:5152:21: warning: '@endcode' command does not terminate a verbatim text block [-Wdocumentation]
  /// literal or an @encode?
                    ^~~~~~~
1 warning generated.
82.869 [15/65/1092] Building CXX object tools/clang/unittests/Support/CMakeFiles/ClangSupportTests.dir/TimeProfilerTest.cpp.o
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/unittests/Support/TimeProfilerTest.cpp:9:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Frontend/CompilerInstance.h:16:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Frontend/CompilerInvocation.h:23:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:17:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Analysis/PathDiagnostic.h:17:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Analysis/AnalysisDeclContext.h:22:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/Analysis/CFG.h:18:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/ExprCXX.h:21:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/DeclCXX.h:22:
/b/1/clang-x86_64-debian-fast/llvm.src/clang/include/clang/AST/Expr.h:5152:21: warning: '@endcode' command does not terminate a verbatim text block [-Wdocumentation]
  /// literal or an @encode?
                    ^~~~~~~
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/clang/unittests/Support/TimeProfilerTest.cpp:10:

```

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


More information about the llvm-commits mailing list