Skip to content

Commit 3bedc93

Browse files
committed
[test][sanitizer] Remove unnececary printf and gettid
Fixes sanitizer-ppc64le-linux bot.
1 parent ddf85b9 commit 3bedc93

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include <stdlib.h>
1717
#include <sys/types.h>
1818
#include <sys/wait.h>
19-
#include <unistd.h>
2019

2120
#include "sanitizer_common/sanitizer_specific.h"
2221

@@ -38,8 +37,6 @@ void ShouldNotDeadlock() {
3837
#define NOSAN __attribute__((no_sanitize("address", "hwaddress", "memory")))
3938

4039
NOSAN static void *inparent(void *arg) {
41-
fprintf(stderr, "inparent %d\n", gettid());
42-
4340
char t[kBufferSize];
4441
make_mem_bad(t, sizeof(t));
4542

@@ -77,7 +74,6 @@ int main(void) {
7774
}
7875
break;
7976
default: {
80-
fprintf(stderr, "fork %d\n", pid);
8177
int status;
8278
while (waitpid(-1, &status, __WALL) != pid) {
8379
}

0 commit comments

Comments
 (0)