[Lldb-commits] [PATCH] D40557: Variable: Fix usage of uninitialised value
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 7 02:39:02 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL320021: Variable: Fix usage of uninitialised value (authored by labath).
Repository:
rL LLVM
https://reviews.llvm.org/D40557
Files:
lldb/trunk/source/Symbol/Variable.cpp
Index: lldb/trunk/source/Symbol/Variable.cpp
===================================================================
--- lldb/trunk/source/Symbol/Variable.cpp
+++ lldb/trunk/source/Symbol/Variable.cpp
@@ -425,14 +425,8 @@
llvm::StringRef variable_sub_expr_path =
variable_expr_path.drop_front(variable_name.size());
if (!variable_sub_expr_path.empty()) {
- ValueObject::ExpressionPathScanEndReason reason_to_stop;
- ValueObject::ExpressionPathEndResultType final_value_type;
- ValueObject::GetValueForExpressionPathOptions options;
- ValueObject::ExpressionPathAftermath final_task_on_target;
-
valobj_sp = variable_valobj_sp->GetValueForExpressionPath(
- variable_sub_expr_path, &reason_to_stop, &final_value_type, options,
- &final_task_on_target);
+ variable_sub_expr_path);
if (!valobj_sp) {
error.SetErrorStringWithFormat(
"invalid expression path '%s' for variable '%s'",
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40557.125916.patch
Type: text/x-patch
Size: 1004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171207/c42deec0/attachment.bin>
More information about the lldb-commits
mailing list