llvm-project/lldb/source
Sean Callanan 00294b34a3 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
2016-03-22 21:05:51 +00:00
..
API Move OperatingSystem plugins to SystemInitializerFull 2016-03-16 08:48:56 +00:00
Breakpoint Add a DiagnosticManager replace error streams in the expression parser. 2016-03-19 00:03:59 +00:00
Commands Unicode support on Win32. 2016-03-22 17:58:09 +00:00
Core Unicode support on Win32. 2016-03-22 17:58:09 +00:00
DataFormatters This change introduces a "ExpressionExecutionThread" to the ThreadList. 2016-03-12 02:45:34 +00:00
Expression Collect IRExecutionUnits as part of persistent expression state. 2016-03-21 22:23:38 +00:00
Host Unicode support on Win32. 2016-03-22 17:58:09 +00:00
Initialization Move OperatingSystem plugins to SystemInitializerFull 2016-03-16 08:48:56 +00:00
Interpreter Use Enrico's new CommandAlias to give better help to the "sif" command. 2016-03-19 00:53:20 +00:00
Plugins Backend support for top-level Clang epxressions 2016-03-22 21:05:51 +00:00
Symbol Add a DiagnosticManager replace error streams in the expression parser. 2016-03-19 00:03:59 +00:00
Target Unicode support on Win32. 2016-03-22 17:58:09 +00:00
Utility Fix all of the unannotated switch cases to annotate the fall through or do the right thing and break. 2016-02-26 01:20:20 +00:00
CMakeLists.txt Add initial CMake glue for the NetBSD platform 2015-10-24 00:27:04 +00:00
lldb.cpp Add more NetBSD platform glue for lldb 2015-11-07 15:31:54 +00:00