[clang] [clang][rtsan] Introduce realtime sanitizer codegen and driver (PR #102622)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 22 14:26:32 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux-fuzzer` running on `sanitizer-buildbot11` while building `clang` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/159/builds/4466
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)
...
-- Configuring done (8.4s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
LIBCXX_HAS_GCC_S_LIB
-- Build files have been written to: /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64
[1885/1986] Building CXX object compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.aarch64.dir/ubsan_minimal_handlers.cpp.o
FAILED: compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.aarch64.dir/ubsan_minimal_handlers.cpp.o
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/./bin/clang++ --target=aarch64-unknown-linux-gnu -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/ubsan_minimal/.. -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 -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 -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -march=armv8-a -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -MD -MT compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.aarch64.dir/ubsan_minimal_handlers.cpp.o -MF compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.aarch64.dir/ubsan_minimal_handlers.cpp.o.d -o compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.aarch64.dir/ubsan_minimal_handlers.cpp.o -c /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
fatal error: error in backend: Cannot select: 0xb8be07fc8cd0: v16i8 = insert_subvector 0xb8be07fc8950, 0xb8be07f70e40, Constant:i64<10>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fc8950: v16i8 = insert_subvector 0xb8be07f71770, 0xb8be07dd4980, Constant:i64<12>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07f71770: v16i8 = insert_vector_elt 0xb8be07dd4a60, 0xb8be07f70ac0, Constant:i64<9>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07dd4a60: v16i8 = insert_vector_elt 0xb8be07e12c10, 0xb8be07e12a50, Constant:i64<8>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07e12c10: v16i8 = insert_vector_elt 0xb8be07fd2f90, 0xb8be07fd2cf0, Constant:i64<7>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fd2f90: v16i8 = insert_vector_elt 0xb8be07fcd9a0, 0xb8be07fd2c80, Constant:i64<6>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fcd9a0: v16i8 = insert_vector_elt 0xb8be07dd5780, 0xb8be07fd2c10, Constant:i64<5>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07dd5780: v16i8 = insert_vector_elt 0xb8be07fc91a0, 0xb8be07fcbad0, Constant:i64<4>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fc91a0: v16i8 = insert_vector_elt 0xb8be07fd31c0, 0xb8be07fce2d0, Constant:i64<3>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fd31c0: v16i8 = insert_vector_elt 0xb8be07fd3150, 0xb8be07fcbd70, Constant:i64<2>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fce2d0: i32 = extract_vector_elt 0xb8be07fd29e0, Constant:i64<1>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07f71000: i64 = Constant<3>
0xb8be07fcbad0: i32 = extract_vector_elt 0xb8be07fd2a50, Constant:i64<0>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fd2a50: v8i16 = insert_subvector undef:v8i16, 0xb8be07fcb980, Constant:i64<0>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:59:23
0xb8be07e12ba0: i64 = Constant<0>
0xb8be07e130e0: i64 = Constant<4>
0xb8be07fd2c10: i32 = extract_vector_elt 0xb8be07fd2a50, Constant:i64<1>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fd2a50: v8i16 = insert_subvector undef:v8i16, 0xb8be07fcb980, Constant:i64<0>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:59:23
0xb8be07fd2f20: v8i16 = undef
0xb8be07fcb980: v4i16 = and 0xb8be07fcbc90, 0xb8be07dd5630, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:59:23
0xb8be07e12ba0: i64 = Constant<0>
0xb8be07dd5390: i64 = Constant<1>
0xb8be07dd4c90: i64 = Constant<5>
0xb8be07fd2c80: i32 = extract_vector_elt 0xb8be07fd2a50, Constant:i64<2>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fd2a50: v8i16 = insert_subvector undef:v8i16, 0xb8be07fcb980, Constant:i64<0>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:59:23
0xb8be07fd2f20: v8i16 = undef
0xb8be07fcb980: v4i16 = and 0xb8be07fcbc90, 0xb8be07dd5630, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:59:23
Step 7 (stage1 build all) failure: stage1 build all (failure)
...
-- Performing Test CXX_SUPPORTS_FSIZED_DEALLOCATION_FLAG - Success
-- check-runtimes does nothing.
-- Configuring done (8.4s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
LIBCXX_HAS_GCC_S_LIB
-- Build files have been written to: /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_aarch64
[1885/1986] Building CXX object compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.aarch64.dir/ubsan_minimal_handlers.cpp.o
FAILED: compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.aarch64.dir/ubsan_minimal_handlers.cpp.o
/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm_build0/./bin/clang++ --target=aarch64-unknown-linux-gnu -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/ubsan_minimal/.. -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 -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 -Wall -Wno-unused-parameter -O3 -DNDEBUG -std=c++17 -march=armv8-a -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -ftrivial-auto-var-init=pattern -nostdinc++ -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -MD -MT compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.aarch64.dir/ubsan_minimal_handlers.cpp.o -MF compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.aarch64.dir/ubsan_minimal_handlers.cpp.o.d -o compiler-rt/lib/ubsan_minimal/CMakeFiles/RTUbsan_minimal.aarch64.dir/ubsan_minimal_handlers.cpp.o -c /home/b/sanitizer-aarch64-linux-fuzzer/build/llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp
fatal error: error in backend: Cannot select: 0xb8be07fc8cd0: v16i8 = insert_subvector 0xb8be07fc8950, 0xb8be07f70e40, Constant:i64<10>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fc8950: v16i8 = insert_subvector 0xb8be07f71770, 0xb8be07dd4980, Constant:i64<12>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07f71770: v16i8 = insert_vector_elt 0xb8be07dd4a60, 0xb8be07f70ac0, Constant:i64<9>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07dd4a60: v16i8 = insert_vector_elt 0xb8be07e12c10, 0xb8be07e12a50, Constant:i64<8>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07e12c10: v16i8 = insert_vector_elt 0xb8be07fd2f90, 0xb8be07fd2cf0, Constant:i64<7>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fd2f90: v16i8 = insert_vector_elt 0xb8be07fcd9a0, 0xb8be07fd2c80, Constant:i64<6>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fcd9a0: v16i8 = insert_vector_elt 0xb8be07dd5780, 0xb8be07fd2c10, Constant:i64<5>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07dd5780: v16i8 = insert_vector_elt 0xb8be07fc91a0, 0xb8be07fcbad0, Constant:i64<4>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fc91a0: v16i8 = insert_vector_elt 0xb8be07fd31c0, 0xb8be07fce2d0, Constant:i64<3>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fd31c0: v16i8 = insert_vector_elt 0xb8be07fd3150, 0xb8be07fcbd70, Constant:i64<2>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fce2d0: i32 = extract_vector_elt 0xb8be07fd29e0, Constant:i64<1>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07f71000: i64 = Constant<3>
0xb8be07fcbad0: i32 = extract_vector_elt 0xb8be07fd2a50, Constant:i64<0>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fd2a50: v8i16 = insert_subvector undef:v8i16, 0xb8be07fcb980, Constant:i64<0>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:59:23
0xb8be07e12ba0: i64 = Constant<0>
0xb8be07e130e0: i64 = Constant<4>
0xb8be07fd2c10: i32 = extract_vector_elt 0xb8be07fd2a50, Constant:i64<1>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fd2a50: v8i16 = insert_subvector undef:v8i16, 0xb8be07fcb980, Constant:i64<0>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:59:23
0xb8be07fd2f20: v8i16 = undef
0xb8be07fcb980: v4i16 = and 0xb8be07fcbc90, 0xb8be07dd5630, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:59:23
0xb8be07e12ba0: i64 = Constant<0>
0xb8be07dd5390: i64 = Constant<1>
0xb8be07dd4c90: i64 = Constant<5>
0xb8be07fd2c80: i32 = extract_vector_elt 0xb8be07fd2a50, Constant:i64<2>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:60:16
0xb8be07fd2a50: v8i16 = insert_subvector undef:v8i16, 0xb8be07fcb980, Constant:i64<0>, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:59:23
0xb8be07fd2f20: v8i16 = undef
0xb8be07fcb980: v4i16 = and 0xb8be07fcbc90, 0xb8be07dd5630, llvm-project/compiler-rt/lib/ubsan_minimal/ubsan_minimal_handlers.cpp:59:23
```
https://github.com/llvm/llvm-project/pull/102622
More information about the cfe-commits
mailing list