summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-07-01 20:08:22 +0000
committerSean Callanan <scallanan@apple.com>2010-07-01 20:08:22 +0000
commit116be5347ef9a97e8c82d77279deaaebe8c8266f (patch)
tree314b36654c293ac78fa65edb8495b60bea4b6301 /lldb/source/Commands/CommandObjectExpression.cpp
parent329d202362313eda5a29e59bf0e039232ef1e565 (diff)
downloadbcm5719-llvm-116be5347ef9a97e8c82d77279deaaebe8c8266f.tar.gz
bcm5719-llvm-116be5347ef9a97e8c82d77279deaaebe8c8266f.zip
Added a SemaConsumer that transforms the ASTs for
an expression, adding code to put the value of the last expression (if there is one) into a variable and write the address of that variable to a global pointer. llvm-svn: 107419
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectExpression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp
index e98303c739e..64106eda2d0 100644
--- a/lldb/source/Commands/CommandObjectExpression.cpp
+++ b/lldb/source/Commands/CommandObjectExpression.cpp
@@ -233,7 +233,7 @@ CommandObjectExpression::EvaluateExpression (const char *expr, bool bare, Stream
if (bare)
num_errors = clang_expr.ParseBareExpression (llvm::StringRef (expr), error_stream);
else
- num_errors = clang_expr.ParseExpression (expr, error_stream);
+ num_errors = clang_expr.ParseExpression (expr, error_stream, m_options.use_ir);
if (num_errors)
{
OpenPOWER on IntegriCloud