summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangFunction.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-05-11 18:43:38 +0000
committerJim Ingham <jingham@apple.com>2012-05-11 18:43:38 +0000
commit923886ce2c7e4142e6335df3b236f58d13f9d967 (patch)
tree0632847ed82ee435a2052712710a2fa3bace960d /lldb/source/Expression/ClangFunction.cpp
parent4ae4160974c7dbc082d9c81d0ddbd30996531318 (diff)
downloadbcm5719-llvm-923886ce2c7e4142e6335df3b236f58d13f9d967.tar.gz
bcm5719-llvm-923886ce2c7e4142e6335df3b236f58d13f9d967.zip
Don't try to use "OkayToDiscard" to mean BOTH this plan is a user plan or not AND unwind on error.
rdar://problem/11419156 llvm-svn: 156627
Diffstat (limited to 'lldb/source/Expression/ClangFunction.cpp')
-rw-r--r--lldb/source/Expression/ClangFunction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Expression/ClangFunction.cpp b/lldb/source/Expression/ClangFunction.cpp
index a6344f925ee..d75f5eb32b9 100644
--- a/lldb/source/Expression/ClangFunction.cpp
+++ b/lldb/source/Expression/ClangFunction.cpp
@@ -410,6 +410,8 @@ ClangFunction::GetThreadPlanToCallFunction (ExecutionContext &exe_ctx,
discard_on_error,
this_arg,
cmd_arg);
+ new_plan->SetIsMasterPlan(true);
+ new_plan->SetOkayToDiscard (false);
return new_plan;
}
OpenPOWER on IntegriCloud