[compiler-rt] [sanitizer] Downgrade TestPTrace() Reports to VReport (PR #152350)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 6 11:06:20 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");
----------------
fmayer wrote:

should we only run this function if verbose logging is on?

https://github.com/llvm/llvm-project/pull/152350


More information about the llvm-commits mailing list