diff options
| author | Kamil Rytarowski <n54@gmx.com> | 2018-03-06 08:24:16 +0000 |
|---|---|---|
| committer | Kamil Rytarowski <n54@gmx.com> | 2018-03-06 08:24:16 +0000 |
| commit | 2f358738b87455180b528a52738faaa0aecd38bb (patch) | |
| tree | 8ee74b2b08309101b3e921dc8932daeb75f1bc34 | |
| parent | a47e1b730430496da05093428f172ee808d8ecf7 (diff) | |
| download | bcm5719-llvm-2f358738b87455180b528a52738faaa0aecd38bb.tar.gz bcm5719-llvm-2f358738b87455180b528a52738faaa0aecd38bb.zip | |
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
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_openbsd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_openbsd.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_openbsd.h index b926ca628eb..d9899913e57 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_openbsd.h +++ b/compiler-rt/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; |

