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/FuzzerTraceState.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/FuzzerTraceState.cpp')
-rw-r--r-- | llvm/lib/Fuzzer/FuzzerTraceState.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerTraceState.cpp b/llvm/lib/Fuzzer/FuzzerTraceState.cpp index 9cccfcbc26f..a920f57c4e2 100644 --- a/llvm/lib/Fuzzer/FuzzerTraceState.cpp +++ b/llvm/lib/Fuzzer/FuzzerTraceState.cpp @@ -9,17 +9,17 @@ // Data tracing. //===----------------------------------------------------------------------===// -#include "FuzzerInternal.h" #include "FuzzerDictionary.h" +#include "FuzzerInternal.h" +#include "FuzzerIO.h" #include "FuzzerMutate.h" #include "FuzzerRandom.h" #include "FuzzerTracePC.h" - #include <algorithm> #include <cstring> -#include <thread> #include <map> #include <set> +#include <thread> namespace fuzzer { |