projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
330e9f6
)
Only call RemovePersistentVariable on expr_result if that shared
author
Jason Molenda
<jmolenda@apple.com>
Thu, 16 Oct 2014 21:25:43 +0000
(21:25 +0000)
committer
Jason Molenda
<jmolenda@apple.com>
Thu, 16 Oct 2014 21:25:43 +0000
(21:25 +0000)
pointer contains something.
llvm-svn: 219966
lldb/source/Expression/ClangUserExpression.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Expression/ClangUserExpression.cpp
b/lldb/source/Expression/ClangUserExpression.cpp
index
bd19183
..
a15d1a6
100644
(file)
--- a/
lldb/source/Expression/ClangUserExpression.cpp
+++ b/
lldb/source/Expression/ClangUserExpression.cpp
@@
-1070,7
+1070,7
@@
ClangUserExpression::Evaluate (ExecutionContext &exe_ctx,
user_expression_sp,
expr_result);
- if (options.GetResultIsInternal() && process)
+ if (options.GetResultIsInternal() &&
expr_result &&
process)
{
process->GetTarget().GetPersistentVariables().RemovePersistentVariable (expr_result);
}