OpenBSD sanitizer common, define RLIMIT_AS constant

Summary: define RLIMIT_AS constant until it s defined in the future

Patch by: David Carlier

Reviewers: krytarowski, vitalybuka

Reviewed By: vitalybuka

Subscribers: kubamracek, llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D44068

llvm-svn: 326768
This commit is contained in:
Kamil Rytarowski 2018-03-06 08:24:16 +00:00
parent a47e1b7304
commit 2f358738b8

View File

@ -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;