nitesh.jain created this revision. nitesh.jain added reviewers: clayborg, ovyalov. nitesh.jain added subscribers: jaydeep, bhushan, sagar, mohit.bhakkad, lldb-commits. nitesh.jain set the repository for this revision to rL LLVM.
The debug version of libc.so is require for backtracing which may not be available on all platforms. Repository: rL LLVM http://reviews.llvm.org/D17131 Files: packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py Index: packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py =================================================================== --- packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py +++ packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py @@ -17,6 +17,9 @@ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows") @expectedFailureLinux("llvm.org/pr25338", archs=['arm']) + + # Backtracing failed due to lack of prolog/epilog informations in assert function of libc.so.6 + @expectedFailureAll(triple = re.compile('^mips')) def test_inferior_asserting(self): """Test that lldb reliably catches the inferior asserting (command).""" self.build() @@ -31,6 +34,9 @@ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows") @expectedFailureLinux("llvm.org/pr25338", archs=['aarch64', 'arm']) + + # Disassembly failed due to lack of debug symbols informations in libc.so.6 + @expectedFailureAll(triple = re.compile('^mips')) def test_inferior_asserting_disassemble(self): """Test that lldb reliably disassembles frames after asserting (command).""" self.build() @@ -45,6 +51,9 @@ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows") @expectedFailureLinux("llvm.org/pr25338", archs=['aarch64', 'arm']) + + # Backtracing failed due to lack of prolog/epilog informations in assert function of libc.so.6 + @expectedFailureAll(triple = re.compile('^mips')) def test_inferior_asserting_expr(self): """Test that the lldb expression interpreter can read from the inferior after asserting (command).""" self.build() @@ -52,6 +61,9 @@ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows") @expectedFailureLinux("llvm.org/pr25338", archs=['aarch64', 'arm']) + + # Backtracing failed due to lack of prolog/epilog informations in assert function of libc.so.6 + @expectedFailureAll(triple = re.compile('^mips')) def test_inferior_asserting_step(self): """Test that lldb functions correctly after stepping through a call to assert().""" self.build()
Index: packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py =================================================================== --- packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py +++ packages/Python/lldbsuite/test/functionalities/inferior-assert/TestInferiorAssert.py @@ -17,6 +17,9 @@ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows") @expectedFailureLinux("llvm.org/pr25338", archs=['arm']) + + # Backtracing failed due to lack of prolog/epilog informations in assert function of libc.so.6 + @expectedFailureAll(triple = re.compile('^mips')) def test_inferior_asserting(self): """Test that lldb reliably catches the inferior asserting (command).""" self.build() @@ -31,6 +34,9 @@ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows") @expectedFailureLinux("llvm.org/pr25338", archs=['aarch64', 'arm']) + + # Disassembly failed due to lack of debug symbols informations in libc.so.6 + @expectedFailureAll(triple = re.compile('^mips')) def test_inferior_asserting_disassemble(self): """Test that lldb reliably disassembles frames after asserting (command).""" self.build() @@ -45,6 +51,9 @@ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows") @expectedFailureLinux("llvm.org/pr25338", archs=['aarch64', 'arm']) + + # Backtracing failed due to lack of prolog/epilog informations in assert function of libc.so.6 + @expectedFailureAll(triple = re.compile('^mips')) def test_inferior_asserting_expr(self): """Test that the lldb expression interpreter can read from the inferior after asserting (command).""" self.build() @@ -52,6 +61,9 @@ @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21793: need to implement support for detecting assertion / abort on Windows") @expectedFailureLinux("llvm.org/pr25338", archs=['aarch64', 'arm']) + + # Backtracing failed due to lack of prolog/epilog informations in assert function of libc.so.6 + @expectedFailureAll(triple = re.compile('^mips')) def test_inferior_asserting_step(self): """Test that lldb functions correctly after stepping through a call to assert().""" self.build()
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits