[PATCH] D27730: [libFuzzer] Diff 21 - Remove unnecessary includes of posix headers.

Marcos Pividori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 14:02:08 PST 2016


mpividori created this revision.
mpividori added reviewers: zturner, kcc.
mpividori added a subscriber: llvm-commits.
mpividori set the repository for this revision to rL LLVM.

Repository:
  rL LLVM

https://reviews.llvm.org/D27730

Files:
  lib/Fuzzer/test/OneHugeAllocTest.cpp
  lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp
  lib/Fuzzer/test/OutOfMemoryTest.cpp


Index: lib/Fuzzer/test/OutOfMemoryTest.cpp
===================================================================
--- lib/Fuzzer/test/OutOfMemoryTest.cpp
+++ lib/Fuzzer/test/OutOfMemoryTest.cpp
@@ -9,7 +9,6 @@
 #include <cstddef>
 #include <cstring>
 #include <iostream>
-#include <unistd.h>
 
 static volatile char *SinkPtr;
 
Index: lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp
===================================================================
--- lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp
+++ lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp
@@ -8,7 +8,6 @@
 #include <cstddef>
 #include <cstring>
 #include <iostream>
-#include <unistd.h>
 
 static volatile char *SinkPtr;
 
Index: lib/Fuzzer/test/OneHugeAllocTest.cpp
===================================================================
--- lib/Fuzzer/test/OneHugeAllocTest.cpp
+++ lib/Fuzzer/test/OneHugeAllocTest.cpp
@@ -8,7 +8,6 @@
 #include <cstddef>
 #include <cstring>
 #include <iostream>
-#include <unistd.h>
 
 static volatile char *SinkPtr;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27730.81297.patch
Type: text/x-patch
Size: 1029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161213/93daff52/attachment.bin>


More information about the llvm-commits mailing list