[compiler-rt] 086ee76 - [sanitizer] Remove "null" for 256 allocations in test
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 6 15:30:28 PDT 2024
Author: Vitaly Buka
Date: 2024-09-06T15:30:17-07:00
New Revision: 086ee762cb95f7a629ba43110cf1945020cdce9b
URL: https://github.com/llvm/llvm-project/commit/086ee762cb95f7a629ba43110cf1945020cdce9b
DIFF: https://github.com/llvm/llvm-project/commit/086ee762cb95f7a629ba43110cf1945020cdce9b.diff
LOG: [sanitizer] Remove "null" for 256 allocations in test
Very rarely this case can return all non-null
for all allocations, making this test flaky.
Added:
Modified:
compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
index 342edb036221af..e6fc22dc58d232 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/soft_rss_limit_mb_test.cpp
@@ -63,7 +63,6 @@ int main() {
// CHECK_MAY_RETURN_1: allocating 32 times
// CHECK_MAY_RETURN_1: Some of the malloc calls returned non-null:
// CHECK_MAY_RETURN_1: allocating 256 times
-// CHECK_MAY_RETURN_1: Some of the malloc calls returned null:
// CHECK_MAY_RETURN_1: Some of the malloc calls returned non-null:
// CHECK_MAY_RETURN_1: allocating 512 times
// CHECK_MAY_RETURN_1: Some of the malloc calls returned null:
More information about the llvm-commits
mailing list