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

3
ctx.h
View File

@@ -42,11 +42,12 @@
#include <map>
#include <llvm/InstrTypes.h>
#include <llvm/Instructions.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
struct CFInfo;