[compiler-rt] [sanitizer] Downgrade TestPTrace() Reports to VReport (PR #152350)
Thurston Dang via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 6 11:18:55 PDT 2025
================
@@ -413,11 +413,12 @@ static void TestPTrace() {
// internal_fork() on SPARC actually calls __fork(). We can't safely fork,
// because it's possible seccomp has been configured to disallow fork() but
// allow clone().
- Report("WARNING: skipping TestPTrace() because this is SPARC\n");
- Report(
- "If seccomp blocks ptrace, LeakSanitizer may hang without further "
- "notice\n");
- Report(
+ VReport(1, "WARNING: skipping TestPTrace() because this is SPARC\n");
----------------
thurstond wrote:
The non-SPARC case has logging for verbosity >= 0. It would be ugly to add an extra check for verbosity only for SPARC.
https://github.com/llvm/llvm-project/pull/152350
More information about the llvm-commits
mailing list