Fix build with LLVM ToT

This commit is contained in:
Matt Pharr
2012-06-28 07:36:10 -07:00
parent 2a4dff38d0
commit f38770bf2a
4 changed files with 20 additions and 4 deletions

View File

@@ -46,7 +46,11 @@
#include <llvm/Value.h>
#include <llvm/Module.h>
#include <llvm/Analysis/DIBuilder.h>
#include <llvm/Analysis/DebugInfo.h>
#if defined(LLVM_3_0) || defined(LLVM_3_1)
#include <llvm/Analysis/DebugInfo.h>
#else
#include <llvm/DebugInfo.h>
#endif
#include <llvm/Support/Dwarf.h>