[compiler-rt] 6c913b2 - [Scudo] Delete unused flag 'rss_limit_mb'.
Mitch Phillips via llvm-commits
llvm-commits at lists.llvm.org
Fri May 14 13:46:14 PDT 2021
Author: Mitch Phillips
Date: 2021-05-14T13:45:43-07:00
New Revision: 6c913b2f37388ab699b62ae8f0c0622279b2fe9a
URL: https://github.com/llvm/llvm-project/commit/6c913b2f37388ab699b62ae8f0c0622279b2fe9a
DIFF: https://github.com/llvm/llvm-project/commit/6c913b2f37388ab699b62ae8f0c0622279b2fe9a.diff
LOG: [Scudo] Delete unused flag 'rss_limit_mb'.
EOM.
Reviewed By: cryptoad
Differential Revision: https://reviews.llvm.org/D102529
Added:
Modified:
compiler-rt/lib/scudo/standalone/flags.inc
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/flags.inc b/compiler-rt/lib/scudo/standalone/flags.inc
index b5cab47341662..690d889b8cee3 100644
--- a/compiler-rt/lib/scudo/standalone/flags.inc
+++ b/compiler-rt/lib/scudo/standalone/flags.inc
@@ -37,12 +37,6 @@ SCUDO_FLAG(bool, zero_contents, false, "Zero chunk contents on allocation.")
SCUDO_FLAG(bool, pattern_fill_contents, false,
"Pattern fill chunk contents on allocation.")
-SCUDO_FLAG(int, rss_limit_mb, -1,
- "Enforce an upper limit (in megabytes) to the process RSS. The "
- "allocator will terminate or return NULL when allocations are "
- "attempted past that limit (depending on may_return_null). Negative "
- "values disable the feature.")
-
SCUDO_FLAG(bool, may_return_null, true,
"Indicate whether the allocator should terminate instead of "
"returning NULL in otherwise non-fatal error scenarios, eg: OOM, "
More information about the llvm-commits
mailing list