[Lldb-commits] [PATCH] D54056: Add SetAllowJIT (the SBExpressionOptions equivalent of "expression --allow-jit")

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 2 16:41:03 PDT 2018


jingham added a comment.

--jit wouldn't describe what the flag actually does.  Currently allow-jit and the SB Setting I added for it set the execution policy to eExecutionPolicyWhenNeeded, not eExecutionPolicyAlways.  So this really does just allow the JIT to be used, it doesn't force it.

If we wanted to add the ability to force use of the JIT always, we could either add another flag, or make an enum setting that had {never, always, when needed}.  But I can't see why you would want that, except maybe to work around IR interpreter bugs. I'd rather not add options just for working around bugs if I can help it.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D54056





More information about the lldb-commits mailing list