[PATCH] D44068: OpenBSD sanitizer common, define RLIMIT_AS constant

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 3 07:00:43 PST 2018


krytarowski added a comment.

Knowing OpenBSD, their goal is no compatibility with others.



================
Comment at: lib/sanitizer_common/sanitizer_platform_limits_openbsd.h:34
 
+#if !defined(RLIMIT_AS)
+#define RLIMIT_AS RLIMIT_DATA
----------------
devnexen wrote:
> krytarowski wrote:
> > Do we need this check?
> Not necessarily for now but might depend on future OpenBSD versions.
I see no point in supporting hypothetical OpenBSD versions that are not there, especially since OpenBSD is known going its own route.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D44068





More information about the llvm-commits mailing list