[Lldb-commits] [PATCH] D17131: [LLDB][MIPS] Fix TestInferiorAssert.py for MIPS

Nitesh Jain via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 11 02:00:10 PST 2016


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()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17131.47608.patch
Type: text/x-patch
Size: 2545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160211/89bea0eb/attachment.bin>


More information about the lldb-commits mailing list