[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 07:06:24 PST 2018


devnexen updated this revision to Diff 136920.

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,8 @@
   _GET_LINK_MAP_BY_DLOPEN_HANDLE(handle, 164)
 #endif
 
+#define RLIMIT_AS RLIMIT_DATA
+
 namespace __sanitizer {
 extern unsigned struct_utsname_sz;
 extern unsigned struct_stat_sz;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44068.136920.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180303/1561264e/attachment.bin>


More information about the llvm-commits mailing list