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

@@ -69,7 +69,11 @@
#include <llvm/Analysis/Verifier.h>
#include <llvm/Analysis/Passes.h>
#include <llvm/Support/raw_ostream.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>
#ifdef ISPC_IS_LINUX
#include <alloca.h>