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

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@cs.uiuc.edu
        ReportedBy: f103119@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.

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

Daniel Malea <daniel.malea@intel.com> changed:

           What |Removed |Added