[compiler-rt] b5e985e - Revert "[MSAN] adjust Posix/timer.cpp"
Kevin Athey via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 14:56:03 PST 2022
Author: Kevin Athey
Date: 2022-03-09T14:55:12-08:00
New Revision: b5e985e6f391439164d465ffc8037bc8a73073dd
URL: https://github.com/llvm/llvm-project/commit/b5e985e6f391439164d465ffc8037bc8a73073dd
DIFF: https://github.com/llvm/llvm-project/commit/b5e985e6f391439164d465ffc8037bc8a73073dd.diff
LOG: Revert "[MSAN] adjust Posix/timer.cpp"
This reverts commit f2a97536809588f1748d32d2e79c9a2a6b4ec335.
breaks buildbot
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp
index 8a9652c4534fc..1c5f17cf09239 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp
@@ -1,7 +1,5 @@
// RUN: %clangxx -O0 -g %s -o %t && %run %t
// UNSUPPORTED: darwin
-// FIXME: SEGV - API mismatch?
-// UNSUPPORTED: s390
#include <assert.h>
#include <signal.h>
#include <stdio.h>
@@ -20,8 +18,6 @@ int main(int argc, char **argv) {
new_value.it_interval.tv_sec = new_value.it_value.tv_sec;
new_value.it_interval.tv_nsec = new_value.it_value.tv_nsec;
- assert(timer_settime(timerid, 0, &new_value, nullptr) == 0);
-
struct itimerspec old_value;
assert(timer_settime(timerid, 0, &new_value, &old_value) == 0);
assert(old_value.it_interval.tv_sec == new_value.it_interval.tv_sec);
More information about the llvm-commits
mailing list