gallivm: Fix build against LLVM 3.7 SVN r235265
LLVM removed JITEmitDebugInfo from TargetOptions since they weren't used v2: Be consistent with the LLVM version check (Aaron Watry) Signed-off-by: Nick Sarnie <commendsarnex@gmail.com> Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
committed by
Michel Dänzer
parent
c015008ee0
commit
645f77fe50
@@ -270,7 +270,7 @@ disassemble(const void* func, llvm::raw_ostream & Out)
|
||||
}
|
||||
|
||||
TargetOptions options;
|
||||
#if defined(DEBUG)
|
||||
#if defined(DEBUG) && HAVE_LLVM < 0x0307
|
||||
options.JITEmitDebugInfo = true;
|
||||
#endif
|
||||
#if defined(PIPE_ARCH_X86)
|
||||
|
||||
@@ -429,7 +429,7 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(DEBUG)
|
||||
#if defined(DEBUG) && HAVE_LLVM < 0x0307
|
||||
options.JITEmitDebugInfo = true;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user