Sean Callanan
1d18066411
Added functionality to dematerialize values that were
...
used by the JIT compiled expression, including the
result of the expression.
Also added a new class, ASTType, which encapsulates an
opaque Clang type and its associated AST context.
Refactored ClangExpressionDeclMap to use ASTTypes,
significantly reducing the possibility of mixups of
types from different AST contexts.
llvm-svn: 108965
2010-07-20 23:31:16 +00:00
Sean Callanan
6b4067c14e
Added the necessary code to copy variables used by
...
an expression into the struct prepared for the JIT
compiled code to use.
llvm-svn: 108596
2010-07-17 00:43:37 +00:00
Sean Callanan
ea22d4288a
Wrote the code that looks at a context to see
...
if the variables in that context allow a particular
JIT compiled expression to run in that context.
llvm-svn: 108485
2010-07-16 00:09:46 +00:00
Sean Callanan
549c9f7f9a
"expr -i" now performs the required transforms to
...
prepare the IR for JIT compilation. We still need
to do the JIT compilation and move the arguments
in/out of target memory.
llvm-svn: 108279
2010-07-13 21:41:46 +00:00
Sean Callanan
f06ba8d89c
Updated the expression parser to use proper logging when
...
looking for external variables. Also cleaned up the log
messages coming from the DWARF interpreter.
llvm-svn: 106613
2010-06-23 00:47:48 +00:00
Sean Callanan
468574bd34
Added support to the expression parser for locating
...
externally-defined functions.
llvm-svn: 106606
2010-06-22 23:46:24 +00:00
Chris Lattner
30fdc8d841
Initial checkin of lldb code from internal Apple repo.
...
llvm-svn: 105619
2010-06-08 16:52:24 +00:00