[PATCH] D44556: OpenBSD UBsan support final missing bits
David CARLIER via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 16 04:09:58 PDT 2018
devnexen created this revision.
devnexen added reviewers: vitalybuka, vsk.
Herald added subscribers: Sanitizers, llvm-commits, fedor.sergeev, kubamracek.
One forgotten file change + reordering one header due to clang-format
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D44556
Files:
lib/sanitizer_common/sanitizer_linux.h
lib/sanitizer_common/sanitizer_procmaps_bsd.cc
Index: lib/sanitizer_common/sanitizer_procmaps_bsd.cc
===================================================================
--- lib/sanitizer_common/sanitizer_procmaps_bsd.cc
+++ lib/sanitizer_common/sanitizer_procmaps_bsd.cc
@@ -19,8 +19,8 @@
#endif
#include "sanitizer_procmaps.h"
-#include <sys/sysctl.h>
#include <sys/types.h>
+#include <sys/sysctl.h>
#include <unistd.h>
#if SANITIZER_FREEBSD
#include <sys/user.h>
Index: lib/sanitizer_common/sanitizer_linux.h
===================================================================
--- lib/sanitizer_common/sanitizer_linux.h
+++ lib/sanitizer_common/sanitizer_linux.h
@@ -15,10 +15,11 @@
#include "sanitizer_platform.h"
#if SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_NETBSD || \
- SANITIZER_SOLARIS
+ SANITIZER_OPENBSD || SANITIZER_SOLARIS
#include "sanitizer_common.h"
#include "sanitizer_internal_defs.h"
#include "sanitizer_platform_limits_netbsd.h"
+#include "sanitizer_platform_limits_openbsd.h"
#include "sanitizer_platform_limits_posix.h"
#include "sanitizer_platform_limits_solaris.h"
#include "sanitizer_posix.h"
@@ -146,5 +147,5 @@
} // namespace __sanitizer
#endif // SANITIZER_FREEBSD || SANITIZER_LINUX || SANITIZER_NETBSD ||
- // SANITIZER_SOLARIS
+ // SANITIZER_OPENBSD || SANITIZER_SOLARIS
#endif // SANITIZER_LINUX_H
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44556.138679.patch
Type: text/x-patch
Size: 1337 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180316/301ef24f/attachment.bin>
More information about the llvm-commits
mailing list