diff options
| author | Kamil Rytarowski <n54@gmx.com> | 2018-03-03 12:12:03 +0000 |
|---|---|---|
| committer | Kamil Rytarowski <n54@gmx.com> | 2018-03-03 12:12:03 +0000 |
| commit | 310cd2509c8bdcdb960cf69bc1615dfb01b170cb (patch) | |
| tree | 0e5fee02df0eaac3380918573ffa3a010002b314 /compiler-rt/lib/sanitizer_common/sanitizer_errno.h | |
| parent | c18102fed5fc2f8a3020a548544daf2d1a743a90 (diff) | |
| download | bcm5719-llvm-310cd2509c8bdcdb960cf69bc1615dfb01b170cb.tar.gz bcm5719-llvm-310cd2509c8bdcdb960cf69bc1615dfb01b170cb.zip | |
OpenBSD UBsan support enabling SANITIZER_OPENBSD widely
Summary: Adding OpenBSD platform
Patch by: David CARLIER
Reviewers: krytarowski, vitalybuka
Reviewed By: vitalybuka
Subscribers: srhines, kubamracek, fedor.sergeev, llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D44049
llvm-svn: 326651
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_errno.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_errno.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_errno.h b/compiler-rt/lib/sanitizer_common/sanitizer_errno.h index 42cc290502b..98cdebee6b2 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_errno.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_errno.h @@ -24,7 +24,7 @@ #if SANITIZER_FREEBSD || SANITIZER_MAC # define __errno_location __error -#elif SANITIZER_ANDROID || SANITIZER_NETBSD +#elif SANITIZER_ANDROID || SANITIZER_NETBSD || SANITIZER_OPENBSD # define __errno_location __errno #elif SANITIZER_SOLARIS # define __errno_location ___errno |

