[Lldb-commits] [lldb] r333690 - Set m_struct_valid to initial value in ctor.

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Thu May 31 13:01:16 PDT 2018


Author: jmolenda
Date: Thu May 31 13:01:15 2018
New Revision: 333690

URL: http://llvm.org/viewvc/llvm-project?rev=333690&view=rev
Log:
Set m_struct_valid to initial value in ctor.  
Patch from Tom Tromey <ttromey at mozilla.com>.

Differential Revision: https://reviews.llvm.org/D47481

Modified:
    lldb/trunk/source/Expression/FunctionCaller.cpp

Modified: lldb/trunk/source/Expression/FunctionCaller.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/FunctionCaller.cpp?rev=333690&r1=333689&r2=333690&view=diff
==============================================================================
--- lldb/trunk/source/Expression/FunctionCaller.cpp (original)
+++ lldb/trunk/source/Expression/FunctionCaller.cpp Thu May 31 13:01:15 2018
@@ -48,7 +48,8 @@ FunctionCaller::FunctionCaller(Execution
       m_function_return_type(return_type),
       m_wrapper_function_name("__lldb_caller_function"),
       m_wrapper_struct_name("__lldb_caller_struct"), m_wrapper_args_addrs(),
-      m_arg_values(arg_value_list), m_compiled(false), m_JITted(false) {
+      m_struct_valid(false), m_arg_values(arg_value_list), m_compiled(false),
+      m_JITted(false) {
   m_jit_process_wp = lldb::ProcessWP(exe_scope.CalculateProcess());
   // Can't make a FunctionCaller without a process.
   assert(m_jit_process_wp.lock());




More information about the lldb-commits mailing list