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() {
413
413
// internal_fork() on SPARC actually calls __fork(). We can't safely fork,
414
414
// because it's possible seccomp has been configured to disallow fork() but
415
415
// 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 ,
421
422
" If seccomp does not block ptrace, you can safely ignore this warning\n " );
422
423
# else
423
424
// Heuristic: only check the first time this is called. This is not always
@@ -438,7 +439,7 @@ static void TestPTrace() {
438
439
if (pid < 0 ) {
439
440
int rverrno;
440
441
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);
442
443
443
444
// We don't abort the sanitizer - it's still worth letting the sanitizer
444
445
// try.
You can’t perform that action at this time.
0 commit comments