[llvm-branch-commits] [compiler-rt] release/19.x: [sanitizer_common] Adjust signal_send.cpp for Linux/sparc64 (#100538) (PR #101141)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Aug 10 02:50:22 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-compiler-rt-sanitizer

Author: None (llvmbot)

<details>
<summary>Changes</summary>

Backport 7cecbdfe4eac3fd7268532426fb6b13e51b8720d

Requested by: @<!-- -->rorth

---
Full diff: https://github.com/llvm/llvm-project/pull/101141.diff


1 Files Affected:

- (modified) compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp (+2-2) 


``````````diff
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp
index 035a5a8df77ae5..638be63397dc61 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp
@@ -62,14 +62,14 @@ void test_sigwait() {
   int res;
   res = fork_and_signal(s);
   fprintf(stderr, "fork_and_signal with SIGUSR1,2: %d\n", res);
-  // CHECK: died with sig 10
+  // CHECK: died with sig {{10|30}}
   // CHECK: fork_and_signal with SIGUSR1,2: 0
 
   // test sigandset... s should only have SIGUSR2 now
   s = sigset_and(s, mkset(1, SIGUSR2));
   res = fork_and_signal(s);
   fprintf(stderr, "fork_and_signal with SIGUSR2: %d\n", res);
-  // CHECK: died with sig 12
+  // CHECK: died with sig {{12|31}}
   // CHECK: fork_and_signal with SIGUSR2: 0
 }
 

``````````

</details>


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


More information about the llvm-branch-commits mailing list