[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:06:58 PDT 2018


jingham created this revision.
jingham added a reviewer: aprantl.
Herald added a subscriber: lldb-commits.

Sometimes you want to make sure that the target doesn't run at all when running an expression, and you'd rather the expression fail if it would have run the target.  You can do this with the "expression" command by passing "--allow-jit 0" but there's no way to do that with SBExpressionOptions.  This patch adds that setting.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D54056

Files:
  include/lldb/API/SBExpressionOptions.h
  packages/Python/lldbsuite/test/expression_command/dont_allow_jit/Makefile
  packages/Python/lldbsuite/test/expression_command/dont_allow_jit/TestSampleTest.py
  packages/Python/lldbsuite/test/expression_command/dont_allow_jit/main.c
  scripts/interface/SBExpressionOptions.i
  source/API/SBExpressionOptions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54056.172454.patch
Type: text/x-patch
Size: 6871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181102/bda8a48e/attachment.bin>


More information about the lldb-commits mailing list