[Lldb-commits] [Bug 8261] New: Initialization Order Warnings

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 30 14:13:21 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8261

           Summary: Initialization Order Warnings
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-commits at cs.uiuc.edu
        ReportedBy: wlynch at wlynch.cx


Hello,

I've attached a patch that fixes some initialization order warnings. These look
like: 

/home/wlynch/Documents/llvm/tools/lldb/source/Target/../../include/lldb/Target/StackFrame.h:
In constructor ‘lldb_private::StackFrame::StackFrame(lldb::user_id_t,
lldb::user_id_t, lldb_private::Thread&, const lldb::RegisterContextSP&,
lldb::addr_t, lldb::addr_t, const lldb_private::SymbolContext*)’:
/home/wlynch/Documents/llvm/tools/lldb/source/Target/../../include/lldb/Target/StackFrame.h:170:
warning: ‘lldb_private::StackFrame::m_unwind_frame_index’ will be initialized
after
/home/wlynch/Documents/llvm/tools/lldb/source/Target/../../include/lldb/Target/StackFrame.h:168:
warning:   ‘lldb_private::Thread& lldb_private::StackFrame::m_thread’

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the lldb-commits mailing list