diff options
author | Vitaly Buka <vitalybuka@google.com> | 2023-12-12 21:47:44 -0800 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2023-12-12 21:49:23 -0800 |
commit | 3bedc93d844808e88ccbd9a502435ab69e3b1ed1 (patch) | |
tree | 77b2c4c4f2674593d2b5ab44d5d05bf41600b809 /compiler-rt | |
parent | ddf85b92aa53a0c205bf6c6b66fdb28ac1b9703b (diff) | |
download | llvm-3bedc93d844808e88ccbd9a502435ab69e3b1ed1.zip llvm-3bedc93d844808e88ccbd9a502435ab69e3b1ed1.tar.gz llvm-3bedc93d844808e88ccbd9a502435ab69e3b1ed1.tar.bz2 |
[test][sanitizer] Remove unnececary `printf` and `gettid`
Fixes sanitizer-ppc64le-linux bot.
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp index e2d6734..83de140 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp +++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp @@ -16,7 +16,6 @@ #include <stdlib.h> #include <sys/types.h> #include <sys/wait.h> -#include <unistd.h> #include "sanitizer_common/sanitizer_specific.h" @@ -38,8 +37,6 @@ void ShouldNotDeadlock() { #define NOSAN __attribute__((no_sanitize("address", "hwaddress", "memory"))) NOSAN static void *inparent(void *arg) { - fprintf(stderr, "inparent %d\n", gettid()); - char t[kBufferSize]; make_mem_bad(t, sizeof(t)); @@ -77,7 +74,6 @@ int main(void) { } break; default: { - fprintf(stderr, "fork %d\n", pid); int status; while (waitpid(-1, &status, __WALL) != pid) { } |