https://bugs.llvm.org/show_bug.cgi?id=37429

            Bug ID: 37429
           Summary: [lldbsuite] When the LLDB HandleCommand crashes, the
                    lldbsuite crashes as well rather than failing the test
           Product: lldb
           Version: 6.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev@lists.llvm.org
          Reporter: sti...@microsoft.com
                CC: llvm-b...@lists.llvm.org

For example (on Windows), if assertions are enabled, the test
ExprCommandCallOverriddenMethod crashes when HandleCommand is called inside
runCmd in lldbtest.py. Rather than recording the failure, lldbsuite crashes
this process altogether and the result from the test is not recorded.

A simple try/except doesn't work in this case, so it is likely that to truly
fix this, HandleCommand needs to be called in a separate process, so that its
crash doesn't crash the running test process.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to