File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
compiler-rt/lib/sanitizer_common Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -413,11 +413,12 @@ static void TestPTrace() {
413413 // internal_fork() on SPARC actually calls __fork(). We can't safely fork,
414414 // because it's possible seccomp has been configured to disallow fork() but
415415 // allow clone().
416- Report (" WARNING: skipping TestPTrace() because this is SPARC\n " );
417- Report (
418- " If seccomp blocks ptrace, LeakSanitizer may hang without further "
419- " notice\n " );
420- Report (
416+ VReport (1 , " WARNING: skipping TestPTrace() because this is SPARC\n " );
417+ VReport (1 ,
418+ " If seccomp blocks ptrace, LeakSanitizer may hang without further "
419+ " notice\n " );
420+ VReport (
421+ 1 ,
421422 " If seccomp does not block ptrace, you can safely ignore this warning\n " );
422423# else
423424 // Heuristic: only check the first time this is called. This is not always
@@ -438,7 +439,7 @@ static void TestPTrace() {
438439 if (pid < 0 ) {
439440 int rverrno;
440441 if (internal_iserror (pid, &rverrno))
441- Report ( " WARNING: TestPTrace() failed to fork (errno %d)\n " , rverrno);
442+ VReport ( 0 , " WARNING: TestPTrace() failed to fork (errno %d)\n " , rverrno);
442443
443444 // We don't abort the sanitizer - it's still worth letting the sanitizer
444445 // try.
You can’t perform that action at this time.
0 commit comments