File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler-rt/test/sanitizer_common/TestCases/Linux Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22// RUN: %clangxx -O2 %s -o %t
33//
44// Run with limit should fail:
5- // 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
6- // 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"
5+ // 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
6+ // 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"
77
88// This run uses getrusage. We can only test getrusage when allocator_may_return_null=0
99// because getrusage gives us max-rss, not current-rss.
10- // 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"
10+ // 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"
1111// REQUIRES: stable-runtime
1212
1313// Ubsan does not intercept pthread_create.
You can’t perform that action at this time.
0 commit comments