[compiler-rt] d8e10d1 - [rtsan] Fix-forward TEST(TestRtsanInterceptors, PpollDiesWhenRealtime)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 20 12:53:40 PST 2024
Author: Thurston Dang
Date: 2024-12-20T20:53:24Z
New Revision: d8e10d13d7e31cb1695eb65f02696e682ec97097
URL: https://github.com/llvm/llvm-project/commit/d8e10d13d7e31cb1695eb65f02696e682ec97097
DIFF: https://github.com/llvm/llvm-project/commit/d8e10d13d7e31cb1695eb65f02696e682ec97097.diff
LOG: [rtsan] Fix-forward TEST(TestRtsanInterceptors, PpollDiesWhenRealtime)
Buildbot breakage:
home/b/sanitizer-aarch64-linux/build/llvm-project/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp:1090:19: error: missing field 'tv_nsec' initializer [-Werror,-Wmissing-field-initializers]
1090 | timespec ts = {0};
introduced by https://github.com/llvm/llvm-project/pull/120366/files
Added:
Modified:
compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp b/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
index eb502e99bb1b5e..b052dd859dcdf6 100644
--- a/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
+++ b/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
@@ -1087,7 +1087,7 @@ TEST(TestRtsanInterceptors, PpollDiesWhenRealtime) {
fds[0].fd = 0;
fds[0].events = POLLIN;
- timespec ts = {0};
+ timespec ts = {0, 0};
auto Func = [&fds, &ts]() { ppoll(fds, 1, &ts, nullptr); };
More information about the llvm-commits
mailing list