Fix build with LLVM ToT
This commit is contained in:
4
ctx.h
4
ctx.h
@@ -43,7 +43,11 @@
|
||||
#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>
|
||||
#else
|
||||
#include <llvm/DebugInfo.h>
|
||||
#endif
|
||||
|
||||
struct CFInfo;
|
||||
|
||||
|
||||
4
ispc.cpp
4
ispc.cpp
@@ -48,7 +48,11 @@
|
||||
#include <llvm/LLVMContext.h>
|
||||
#include <llvm/Module.h>
|
||||
#include <llvm/Analysis/DIBuilder.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>
|
||||
#include <llvm/Instructions.h>
|
||||
#include <llvm/Target/TargetMachine.h>
|
||||
|
||||
4
opt.cpp
4
opt.cpp
@@ -69,7 +69,11 @@
|
||||
#include <llvm/Analysis/Verifier.h>
|
||||
#include <llvm/Analysis/Passes.h>
|
||||
#include <llvm/Support/raw_ostream.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>
|
||||
|
||||
Reference in New Issue
Block a user