[compiler-rt] [rtsan][compiler-rt] Get rid of [[blocking]] stub in tests (PR #111392)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 09:08:42 PDT 2024


================
@@ -28,7 +21,7 @@ int main() {
   return 0;
   // CHECK-NOT: {{.*safe_call*}}
   // CHECK: ==ERROR: RealtimeSanitizer: blocking-call
-  // CHECK-NEXT: Call to blocking function `custom_blocking_function` in real-time context!
+  // CHECK-NEXT: Call to blocking function `custom_blocking_function()` in real-time context!
   // CHECK-NEXT: {{.*custom_blocking_function*}}
----------------
davidtrevelyan wrote:

Would it be wise to add `// CHECK-NOT: {{.*In blocking function.*}}` (or whatever the correct regex is to make sure the printf doesn't happen inside `custom_blocking_function`?

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


More information about the llvm-commits mailing list