jit: Enable exception handling
This commit is contained in:
parent
887b59b7be
commit
ebe6b2d15c
1 changed files with 1 additions and 0 deletions
|
@ -345,6 +345,7 @@ LLVMRustExecuteJIT(void* mem,
|
||||||
|
|
||||||
std::string Err;
|
std::string Err;
|
||||||
TargetOptions Options;
|
TargetOptions Options;
|
||||||
|
Options.JITExceptionHandling = true;
|
||||||
Options.JITEmitDebugInfo = true;
|
Options.JITEmitDebugInfo = true;
|
||||||
Options.NoFramePointerElim = true;
|
Options.NoFramePointerElim = true;
|
||||||
Options.EnableSegmentedStacks = EnableSegmentedStacks;
|
Options.EnableSegmentedStacks = EnableSegmentedStacks;
|
||||||
|
|
Loading…
Add table
Reference in a new issue