Skip to content

Commit

Permalink
Don't set JITEmitDebugInfo on LLVM3.7
Browse files Browse the repository at this point in the history
This option wasn't used with MCJIT and was removed in
http:https://reviews.llvm.org/rL235265.
  • Loading branch information
Keno committed Apr 28, 2015
1 parent 7b0871e commit 0c56dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5394,7 +5394,7 @@ extern "C" void jl_init_codegen(void)

TargetOptions options = TargetOptions();
//options.PrintMachineCode = true; //Print machine code produced during JIT compiling
#ifdef JL_DEBUG_BUILD
#if defined(JL_DEBUG_BUILD) && !defined(LLVM37)
options.JITEmitDebugInfo = true;
#endif
options.NoFramePointerElim = true;
Expand Down

0 comments on commit 0c56dd2

Please sign in to comment.