[compiler-rt] r232072 - [Sanitizers] Fix sanitizers to build on FreeBSD.
Viktor Kutuzov
vkutuzov at accesssoftek.com
Thu Mar 12 11:10:06 PDT 2015
Author: vkutuzov
Date: Thu Mar 12 13:10:06 2015
New Revision: 232072
URL: http://llvm.org/viewvc/llvm-project?rev=232072&view=rev
Log:
[Sanitizers] Fix sanitizers to build on FreeBSD.
Differential Revision: http://reviews.llvm.org/D8175
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc?rev=232072&r1=232071&r2=232072&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_linux.cc Thu Mar 12 13:10:06 2015
@@ -57,6 +57,7 @@
#include <sys/syscall.h>
#include <sys/time.h>
#include <sys/types.h>
+#include <ucontext.h>
#include <unistd.h>
#if SANITIZER_FREEBSD
More information about the llvm-commits
mailing list