support LLVM trunk

This commit is contained in:
Ilia Filippov
2014-03-07 16:28:56 +04:00
parent 6738af0a0c
commit 47f7900cd3
7 changed files with 23 additions and 13 deletions

View File

@@ -66,7 +66,11 @@
#include <llvm/IR/Intrinsics.h>
#include <llvm/IR/DerivedTypes.h>
#endif
#include <llvm/Linker.h>
#if defined(LLVM_3_5)
#include <llvm/Linker/Linker.h>
#else
#include <llvm/Linker.h>
#endif
#include <llvm/Target/TargetMachine.h>
#include <llvm/ADT/Triple.h>
#include <llvm/Support/MemoryBuffer.h>