[PATCH] Add FreeBSD support to the address sanitizer's waitid.cc test case

Viktor Kutuzov vkutuzov at accesssoftek.com
Thu Jul 17 07:52:50 PDT 2014


Right, <signal.h> should be available on both Linux, Darwin and FreeBSD.

http://reviews.llvm.org/D4422

Files:
  test/asan/TestCases/Posix/waitid.cc

Index: test/asan/TestCases/Posix/waitid.cc
===================================================================
--- test/asan/TestCases/Posix/waitid.cc
+++ test/asan/TestCases/Posix/waitid.cc
@@ -4,6 +4,7 @@
 #include <assert.h>
 #include <sys/wait.h>
 #include <unistd.h>
+#include <signal.h>
 
 int main(int argc, char **argv) {
   pid_t pid = fork();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4422.11580.patch
Type: text/x-patch
Size: 353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140717/756355f7/attachment.bin>


More information about the llvm-commits mailing list