mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 10:38:30 +02:00
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:
parent
c015008ee0
commit
645f77fe50
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue