[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 12:50:25 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-bootstrap-asan` running on `sanitizer-buildbot2` while building `llvm` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/52/builds/914
Here is the relevant piece of the build log for the reference:
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[1012/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/DecomposeStackOffsetTest.cpp.o
[1013/1161] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ThreadPool.cpp.o
[1014/1161] Building CXX object unittests/Testing/ADT/CMakeFiles/TestingADTTests.dir/StringMapEntryTest.cpp.o
[1015/1161] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/PatternMatch.cpp.o
[1016/1161] Linking CXX executable unittests/Testing/ADT/TestingADTTests
[1017/1161] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ErrorTest.cpp.o
[1018/1161] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
[1019/1161] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SmallVectorTest.cpp.o
[1020/1161] Linking CXX executable unittests/ADT/ADTTests
[1021/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o
FAILED: unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/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/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/unittests/Transforms/Utils -I/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/Transforms/Utils -I/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/include -I/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include -I/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include -I/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googlemock/include -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 -std=c++17 -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -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/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/Transforms/Utils/DXILResourceTest.cpp
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/Transforms/Utils/DXILResourceTest.cpp:60:52: error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'?
60 | void appendMDs(SmallVectorImpl<Metadata *> &MDs, nullptr_t V, Ts... More) {
| ^~~~~~~~~
| std::nullptr_t
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/x86_64-linux-gnu/bits/c++config.h:314:29: note: 'std::nullptr_t' declared here
314 | typedef decltype(nullptr) nullptr_t;
| ^
1 error generated.
[1022/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/CodeLayoutTest.cpp.o
[1023/1161] Building CXX object unittests/TableGen/CMakeFiles/TableGenTests.dir/AutomataTest.cpp.o
[1024/1161] Building CXX object unittests/TextAPI/CMakeFiles/TextAPITests.dir/TextStubV1Tests.cpp.o
[1025/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/ModuleUtilsTest.cpp.o
[1026/1161] Building CXX object unittests/TextAPI/CMakeFiles/TextAPITests.dir/TextStubV2Tests.cpp.o
[1027/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/CallPromotionUtilsTest.cpp.o
[1028/1161] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/JSONTest.cpp.o
[1029/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/FunctionComparatorTest.cpp.o
[1030/1161] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/CommandLineTest.cpp.o
[1031/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/IntegerDivisionTest.cpp.o
[1032/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/Immediates.cpp.o
[1033/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AddressingModes.cpp.o
[1034/1161] Building CXX object unittests/Target/AMDGPU/CMakeFiles/AMDGPUTests.dir/DwarfRegMappings.cpp.o
[1035/1161] Building CXX object unittests/Target/WebAssembly/CMakeFiles/WebAssemblyTests.dir/WebAssemblyExceptionInfoTest.cpp.o
[1036/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/ProfDataUtilTest.cpp.o
[1037/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SVESchedPseudoTest.cpp.o
[1038/1161] Building CXX object unittests/Target/X86/CMakeFiles/X86Tests.dir/MachineSizeOptsTest.cpp.o
[1039/1161] Building CXX object unittests/TargetParser/CMakeFiles/TargetParserTests.dir/CSKYTargetParserTest.cpp.o
[1040/1161] Building CXX object unittests/Target/VE/CMakeFiles/VETests.dir/MachineInstrTest.cpp.o
[1041/1161] Building CXX object unittests/Target/AMDGPU/CMakeFiles/AMDGPUTests.dir/AMDGPUUnitTests.cpp.o
[1042/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/MatrixRegisterAliasing.cpp.o
[1043/1161] Building CXX object unittests/TextAPI/CMakeFiles/TextAPITests.dir/TextStubV4Tests.cpp.o
[1044/1161] Building CXX object unittests/TextAPI/CMakeFiles/TextAPITests.dir/TextStubV3Tests.cpp.o
[1045/1161] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/ProgressMeterTest.cpp.o
[1046/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/InstSizes.cpp.o
[1047/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/CodeExtractorTest.cpp.o
[1048/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/SizeOptsTest.cpp.o
[1049/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/LoopRotationUtilsTest.cpp.o
[1050/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/UnrollLoopTest.cpp.o
Step 13 (stage3/asan check) failure: stage3/asan check (failure)
...
[1012/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/DecomposeStackOffsetTest.cpp.o
[1013/1161] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ThreadPool.cpp.o
[1014/1161] Building CXX object unittests/Testing/ADT/CMakeFiles/TestingADTTests.dir/StringMapEntryTest.cpp.o
[1015/1161] Building CXX object unittests/IR/CMakeFiles/IRTests.dir/PatternMatch.cpp.o
[1016/1161] Linking CXX executable unittests/Testing/ADT/TestingADTTests
[1017/1161] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/ErrorTest.cpp.o
[1018/1161] Linking CXX executable unittests/ExecutionEngine/Orc/OrcJITTests
[1019/1161] Building CXX object unittests/ADT/CMakeFiles/ADTTests.dir/SmallVectorTest.cpp.o
[1020/1161] Linking CXX executable unittests/ADT/ADTTests
[1021/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o
FAILED: unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/DXILResourceTest.cpp.o
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build_asan/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/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/unittests/Transforms/Utils -I/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/Transforms/Utils -I/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build2_asan/include -I/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/include -I/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googletest/include -I/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/third-party/unittest/googlemock/include -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 -std=c++17 -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -Wno-suggest-override -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/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/Transforms/Utils/DXILResourceTest.cpp
/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/unittests/Transforms/Utils/DXILResourceTest.cpp:60:52: error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'?
60 | void appendMDs(SmallVectorImpl<Metadata *> &MDs, nullptr_t V, Ts... More) {
| ^~~~~~~~~
| std::nullptr_t
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/x86_64-linux-gnu/bits/c++config.h:314:29: note: 'std::nullptr_t' declared here
314 | typedef decltype(nullptr) nullptr_t;
| ^
1 error generated.
[1022/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/CodeLayoutTest.cpp.o
[1023/1161] Building CXX object unittests/TableGen/CMakeFiles/TableGenTests.dir/AutomataTest.cpp.o
[1024/1161] Building CXX object unittests/TextAPI/CMakeFiles/TextAPITests.dir/TextStubV1Tests.cpp.o
[1025/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/ModuleUtilsTest.cpp.o
[1026/1161] Building CXX object unittests/TextAPI/CMakeFiles/TextAPITests.dir/TextStubV2Tests.cpp.o
[1027/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/CallPromotionUtilsTest.cpp.o
[1028/1161] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/JSONTest.cpp.o
[1029/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/FunctionComparatorTest.cpp.o
[1030/1161] Building CXX object unittests/Support/CMakeFiles/SupportTests.dir/CommandLineTest.cpp.o
[1031/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/IntegerDivisionTest.cpp.o
[1032/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/Immediates.cpp.o
[1033/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AddressingModes.cpp.o
[1034/1161] Building CXX object unittests/Target/AMDGPU/CMakeFiles/AMDGPUTests.dir/DwarfRegMappings.cpp.o
[1035/1161] Building CXX object unittests/Target/WebAssembly/CMakeFiles/WebAssemblyTests.dir/WebAssemblyExceptionInfoTest.cpp.o
[1036/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/ProfDataUtilTest.cpp.o
[1037/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SVESchedPseudoTest.cpp.o
[1038/1161] Building CXX object unittests/Target/X86/CMakeFiles/X86Tests.dir/MachineSizeOptsTest.cpp.o
[1039/1161] Building CXX object unittests/TargetParser/CMakeFiles/TargetParserTests.dir/CSKYTargetParserTest.cpp.o
[1040/1161] Building CXX object unittests/Target/VE/CMakeFiles/VETests.dir/MachineInstrTest.cpp.o
[1041/1161] Building CXX object unittests/Target/AMDGPU/CMakeFiles/AMDGPUTests.dir/AMDGPUUnitTests.cpp.o
[1042/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/MatrixRegisterAliasing.cpp.o
[1043/1161] Building CXX object unittests/TextAPI/CMakeFiles/TextAPITests.dir/TextStubV4Tests.cpp.o
[1044/1161] Building CXX object unittests/TextAPI/CMakeFiles/TextAPITests.dir/TextStubV3Tests.cpp.o
[1045/1161] Building CXX object unittests/tools/llvm-exegesis/CMakeFiles/LLVMExegesisTests.dir/ProgressMeterTest.cpp.o
[1046/1161] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/InstSizes.cpp.o
[1047/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/CodeExtractorTest.cpp.o
[1048/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/SizeOptsTest.cpp.o
[1049/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/LoopRotationUtilsTest.cpp.o
[1050/1161] Building CXX object unittests/Transforms/Utils/CMakeFiles/UtilsTests.dir/UnrollLoopTest.cpp.o
```
https://github.com/llvm/llvm-project/pull/98939
More information about the llvm-commits
mailing list