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

@@ -50,9 +50,9 @@
#include <llvm/IR/Value.h>
#include <llvm/IR/Module.h>
#endif
#if defined(LLVM_3_1)
#include <llvm/Analysis/DebugInfo.h>
#include <llvm/Analysis/DIBuilder.h>
#if defined(LLVM_3_5)
#include <llvm/IR/DebugInfo.h>
#include <llvm/IR/DIBuilder.h>
#else
#include <llvm/DebugInfo.h>
#include <llvm/DIBuilder.h>