diff options
author | Zachary Turner <zturner@google.com> | 2016-11-30 19:06:14 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-11-30 19:06:14 +0000 |
commit | 24a148b1d41ec1ac38ef15f39f38073ce50a1bfa (patch) | |
tree | f462b71266443357f2e86e98ad25d6245b79db1a /llvm/lib/Fuzzer/FuzzerTracePC.cpp | |
parent | 28ee2d1b0973df3295cd7eadb45473037e530ed9 (diff) | |
download | bcm5719-llvm-24a148b1d41ec1ac38ef15f39f38073ce50a1bfa.tar.gz bcm5719-llvm-24a148b1d41ec1ac38ef15f39f38073ce50a1bfa.zip |
[LibFuzzer] Split up some functions among different headers.
In an effort to get libfuzzer working on Windows, we need to make
a distinction between what functions require platform specific
code (e.g. different code on Windows vs Linux) and what code
doesn't. IO functions, for example, tend to be platform
specific.
This patch separates out some of the functions which will need
to have platform specific implementations into different headers,
so that we can then provide different implementations for each
platform.
Aside from that, this patch contains no functional change. It
is purely a re-organization.
Patch by Marcos Pividori
Differential Revision: https://reviews.llvm.org/D27230
llvm-svn: 288264
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerTracePC.cpp')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerTracePC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerTracePC.cpp b/llvm/lib/Fuzzer/FuzzerTracePC.cpp index f85b150a000..eabf0d087f4 100644 --- a/llvm/lib/Fuzzer/FuzzerTracePC.cpp +++ b/llvm/lib/Fuzzer/FuzzerTracePC.cpp @@ -12,16 +12,16 @@ // //===----------------------------------------------------------------------===// -#include <map> -#include <set> -#include <sstream> - #include "FuzzerCorpus.h" #include "FuzzerDefs.h" #include "FuzzerDictionary.h" #include "FuzzerExtFunctions.h" +#include "FuzzerIO.h" #include "FuzzerTracePC.h" #include "FuzzerValueBitMap.h" +#include <map> +#include <set> +#include <sstream> namespace fuzzer { |