[PATCH] D90237: [sanitizer_common] Use posix_spawn when starting a subprocess
Nicholas S. Park via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 27 08:53:03 PDT 2020
nspark updated this revision to Diff 301017.
nspark added a comment.
Herald added a subscriber: fedor.sergeev.
Fix lint errors with clang-format on sanitizer_posix_libcdep.cpp
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90237/new/
https://reviews.llvm.org/D90237
Files:
compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
Index: compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
===================================================================
--- compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
+++ compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
@@ -15,14 +15,6 @@
#if SANITIZER_POSIX
-#include "sanitizer_common.h"
-#include "sanitizer_flags.h"
-#include "sanitizer_platform_limits_netbsd.h"
-#include "sanitizer_platform_limits_posix.h"
-#include "sanitizer_platform_limits_solaris.h"
-#include "sanitizer_posix.h"
-#include "sanitizer_procmaps.h"
-
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
@@ -37,6 +29,14 @@
#include <sys/wait.h>
#include <unistd.h>
+#include "sanitizer_common.h"
+#include "sanitizer_flags.h"
+#include "sanitizer_platform_limits_netbsd.h"
+#include "sanitizer_platform_limits_posix.h"
+#include "sanitizer_platform_limits_solaris.h"
+#include "sanitizer_posix.h"
+#include "sanitizer_procmaps.h"
+
#if SANITIZER_FREEBSD
// The MAP_NORESERVE define has been removed in FreeBSD 11.x, and even before
// that, it was never implemented. So just define it to zero.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90237.301017.patch
Type: text/x-patch
Size: 1137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201027/f6ba67b5/attachment.bin>
More information about the llvm-commits
mailing list