Fix build with LLVM top of tree.

This commit is contained in:
Matt Pharr
2012-07-05 13:34:40 -07:00
parent ae7a094ee0
commit 4186ef204d
5 changed files with 6 additions and 5 deletions

View File

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