[PATCH] D44068: OpenBSD sanitizer common, define RLIMIT_AS constant
David CARLIER via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 3 04:20:51 PST 2018
devnexen created this revision.
devnexen added reviewers: krytarowski, vitalybuka.
Herald added subscribers: Sanitizers, llvm-commits, kubamracek.
define RLIMIT_AS constant until it s defined in the future
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D44068
Files:
lib/sanitizer_common/sanitizer_platform_limits_openbsd.h
Index: lib/sanitizer_common/sanitizer_platform_limits_openbsd.h
===================================================================
--- lib/sanitizer_common/sanitizer_platform_limits_openbsd.h
+++ lib/sanitizer_common/sanitizer_platform_limits_openbsd.h
@@ -31,6 +31,10 @@
_GET_LINK_MAP_BY_DLOPEN_HANDLE(handle, 164)
#endif
+#if !defined(RLIMIT_AS)
+#define RLIMIT_AS RLIMIT_DATA
+#endif
+
namespace __sanitizer {
extern unsigned struct_utsname_sz;
extern unsigned struct_stat_sz;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44068.136911.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180303/2be0d696/attachment.bin>
More information about the llvm-commits
mailing list