diff options
author | hexcoder- <heiko@hexco.de> | 2020-11-05 22:45:07 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-11-05 22:45:07 +0100 |
commit | f8bbbf31ec6b307407f3c67e745f772bb2fcc557 (patch) | |
tree | c1d66bac004075a9ae0fd25ba156a7fbe473a066 | |
parent | 61fe059ba2d1cd0106c0ffa4eaf1896c7912e275 (diff) | |
download | afl++-f8bbbf31ec6b307407f3c67e745f772bb2fcc557.tar.gz |
remove duplicate headers, make '#include VirtualFileSystems.h' version dependent
-rw-r--r-- | instrumentation/SanitizerCoveragePCGUARD.so.cc | 10 | ||||
m--------- | unicorn_mode/unicornafl | 0 |
2 files changed, 4 insertions, 6 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc index 772a6f60..5065f20e 100644 --- a/instrumentation/SanitizerCoveragePCGUARD.so.cc +++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc @@ -10,11 +10,6 @@ // //===----------------------------------------------------------------------===// -#include "llvm/IR/Module.h" -#include "llvm/IR/PassManager.h" -#include "llvm/Support/SpecialCaseList.h" -#include "llvm/Support/VirtualFileSystem.h" -#include "llvm/Transforms/Instrumentation.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Analysis/EHPersonalities.h" @@ -34,13 +29,16 @@ #include "llvm/IR/MDBuilder.h" #include "llvm/IR/Mangler.h" #include "llvm/IR/Module.h" +#include "llvm/IR/PassManager.h" #include "llvm/IR/Type.h" #include "llvm/InitializePasses.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" +#include "llvm/Support/raw_ostream.h" #include "llvm/Support/SpecialCaseList.h" +#if LLVM_MAJOR > 10 || (LLVM_MAJOR == 10 && LLVM_MINOR > 0) #include "llvm/Support/VirtualFileSystem.h" -#include "llvm/Support/raw_ostream.h" +#endif #include "llvm/Transforms/Instrumentation.h" #include "llvm/Transforms/Utils/BasicBlockUtils.h" #include "llvm/Transforms/Utils/ModuleUtils.h" diff --git a/unicorn_mode/unicornafl b/unicorn_mode/unicornafl -Subproject 0bf26f6c2601e1c1c84998551ed7d50b4108fbd +Subproject f44ec48f8d5929f243522c1152b5b3c0985a554 |