diff options
| author | Sean Callanan <scallanan@apple.com> | 2016-03-22 21:05:51 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2016-03-22 21:05:51 +0000 |
| commit | 00294b34a3c99f3540214a148c0bd15e68f9d7fd (patch) | |
| tree | a6892887ee99bed68154d36a82a975d01ec566a1 /lldb/source/Interpreter/CommandInterpreter.cpp | |
| parent | e32368fc6edd4f1c284a9ba0cbdd6b8931dbe925 (diff) | |
| download | llvm-00294b34a3c99f3540214a148c0bd15e68f9d7fd.zip llvm-00294b34a3c99f3540214a148c0bd15e68f9d7fd.tar.gz llvm-00294b34a3c99f3540214a148c0bd15e68f9d7fd.tar.bz2 | |
Backend support for top-level Clang epxressions
This patch adds a new ExecutionPolicy, eExecutionPolicyTopLevel, which
tells the expression parser that the expression should be JITted as top
level code but nothing (except static initializers) should be run. I
have modified the Clang expression parser to recognize this execution
policy. On top of the existing patches that support storing IR and
maintaining a map of arbitrary Decls, this is mainly just patching up a
few places in the expression parser.
I intend to submit a patch for review that exposes this functionality
through the "expression" command and through the SB API. That patch
also includes a testcase for all of this.
<rdar://problem/22864976>
llvm-svn: 264095
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions
