We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
printf
gettid
1 parent ddf85b9 commit 3bedc93Copy full SHA for 3bedc93
compiler-rt/test/sanitizer_common/TestCases/Posix/fork_threaded.cpp
@@ -16,7 +16,6 @@
16
#include <stdlib.h>
17
#include <sys/types.h>
18
#include <sys/wait.h>
19
-#include <unistd.h>
20
21
#include "sanitizer_common/sanitizer_specific.h"
22
@@ -38,8 +37,6 @@ void ShouldNotDeadlock() {
38
37
#define NOSAN __attribute__((no_sanitize("address", "hwaddress", "memory")))
39
40
NOSAN static void *inparent(void *arg) {
41
- fprintf(stderr, "inparent %d\n", gettid());
42
-
43
char t[kBufferSize];
44
make_mem_bad(t, sizeof(t));
45
@@ -77,7 +74,6 @@ int main(void) {
77
74
}
78
75
break;
79
76
default: {
80
- fprintf(stderr, "fork %d\n", pid);
81
int status;
82
while (waitpid(-1, &status, __WALL) != pid) {
83
0 commit comments