[lldb-dev] [Bug 14612] New: In Driver::MainLoop, m_done variable used without initialization

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 14 20:34:32 PST 2012


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

             Bug #: 14612
           Summary: In Driver::MainLoop, m_done variable used without
                    initialization
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev at cs.uiuc.edu
        ReportedBy: f103119 at gmail.com
    Classification: Unclassified


Created attachment 9707
  --> http://llvm.org/bugs/attachment.cgi?id=9707
solve this bug

In Driver::MainLoop

  while (!GetIsDone())
  { ....

GetIsDone refer to m_done, but it's used without initialization(won't be
initialized to zero), and it will cause lldb exit directly.


ps. compile lldb with clang 3.3

Thanks.

-- 
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-dev mailing list