mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 11:02:04 +08:00
[compiler-rt] Try bumping soft_rss_limit again (#171469)
This is still failing on some of the bots. Try bumping the limit again to see if this fixes things.
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
// RUN: %clangxx -O2 %s -o %t
|
||||
//
|
||||
// Run with limit should fail:
|
||||
// RUN: %env_tool_opts=soft_rss_limit_mb=250:quarantine_size=1:allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s -check-prefix=CHECK_MAY_RETURN_1
|
||||
// RUN: %env_tool_opts=soft_rss_limit_mb=250:quarantine_size=1:allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s -check-prefix=CHECK_MAY_RETURN_0 --implicit-check-not="returned null"
|
||||
// RUN: %env_tool_opts=soft_rss_limit_mb=384:quarantine_size=1:allocator_may_return_null=1 %run %t 2>&1 | FileCheck %s -check-prefix=CHECK_MAY_RETURN_1
|
||||
// RUN: %env_tool_opts=soft_rss_limit_mb=384:quarantine_size=1:allocator_may_return_null=0 not %run %t 2>&1 | FileCheck %s -check-prefix=CHECK_MAY_RETURN_0 --implicit-check-not="returned null"
|
||||
|
||||
// This run uses getrusage. We can only test getrusage when allocator_may_return_null=0
|
||||
// because getrusage gives us max-rss, not current-rss.
|
||||
// RUN: %env_tool_opts=soft_rss_limit_mb=250:quarantine_size=1:allocator_may_return_null=0:can_use_proc_maps_statm=0 not %run %t 2>&1 | FileCheck %s -check-prefix=CHECK_MAY_RETURN_0 --implicit-check-not="returned null"
|
||||
// RUN: %env_tool_opts=soft_rss_limit_mb=384:quarantine_size=1:allocator_may_return_null=0:can_use_proc_maps_statm=0 not %run %t 2>&1 | FileCheck %s -check-prefix=CHECK_MAY_RETURN_0 --implicit-check-not="returned null"
|
||||
// REQUIRES: stable-runtime
|
||||
|
||||
// Ubsan does not intercept pthread_create.
|
||||
|
||||
Reference in New Issue
Block a user