Author: Jonas Devlieghere Date: 2022-02-15T09:40:09-08:00 New Revision: 6459fdf9a8e9e8c2e06eaa42a6eda6079665c596
URL: https://github.com/llvm/llvm-project/commit/6459fdf9a8e9e8c2e06eaa42a6eda6079665c596 DIFF: https://github.com/llvm/llvm-project/commit/6459fdf9a8e9e8c2e06eaa42a6eda6079665c596.diff LOG: [lldb] Fix uninitialized variable in EvaluateExpressionOptions Initialize m_pound_line_line to 0. Added: Modified: lldb/include/lldb/Target/Target.h Removed: ################################################################################ diff --git a/lldb/include/lldb/Target/Target.h b/lldb/include/lldb/Target/Target.h index 42a641f6d52ab..54c1fb5840c9d 100644 --- a/lldb/include/lldb/Target/Target.h +++ b/lldb/include/lldb/Target/Target.h @@ -445,7 +445,7 @@ class EvaluateExpressionOptions { // #line %u "%s" before the expression content to remap where the source // originates mutable std::string m_pound_line_file; - mutable uint32_t m_pound_line_line; + mutable uint32_t m_pound_line_line = 0; }; // Target _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits