mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-19 21:13:45 +00:00
try to work with llvm < 3.7
This commit is contained in:
@ -36,7 +36,14 @@
|
||||
#include <fstream>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include "llvm/IR/DebugInfo.h"
|
||||
#include <llvm/Config/llvm-config.h>
|
||||
|
||||
#if (LLVM_VERSION_MAJOR <= 3) && (LLVM_VERSION_MINOR < 7)
|
||||
#include <llvm/DebugInfo.h>
|
||||
#else
|
||||
#include <llvm/IR/DebugInfo.h>
|
||||
#endif
|
||||
|
||||
#include "llvm/IR/BasicBlock.h"
|
||||
#include "llvm/IR/IRBuilder.h"
|
||||
#include "llvm/IR/LegacyPassManager.h"
|
||||
|
Reference in New Issue
Block a user