[Lldb-commits] [lldb] r187519 - Adds a test for 'target module dump symfile' to the LLDB suite.

Ashok Thirumurthi ashok.thirumurthi at intel.com
Wed Jul 31 13:01:04 PDT 2013


Author: athirumu
Date: Wed Jul 31 15:01:04 2013
New Revision: 187519

URL: http://llvm.org/viewvc/llvm-project?rev=187519&view=rev
Log:
Adds a test for 'target module dump symfile' to the LLDB suite.

TODO: Improve coverage of SBTypeMember and of 'target module dump'.

Modified:
    lldb/trunk/test/lang/c/bitfields/TestBitfields.py

Modified: lldb/trunk/test/lang/c/bitfields/TestBitfields.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/bitfields/TestBitfields.py?rev=187519&r1=187518&r2=187519&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/bitfields/TestBitfields.py (original)
+++ lldb/trunk/test/lang/c/bitfields/TestBitfields.py Wed Jul 31 15:01:04 2013
@@ -119,6 +119,10 @@ class BitfieldsTestCase(TestBase):
         self.expect("expr (more_bits.d)", VARIABLES_DISPLAYED_CORRECTLY,
             substrs = ['uint8_t', '\\0'])
 
+        self.expect("target modules dump symfile a.out", VARIABLES_DISPLAYED_CORRECTLY,
+            substrs = ['Bits', 'uint32_t b3 : 3',
+                       'MoreBits', 'uint32_t a : 3'])
+
     def bitfields_variable_python(self):
         """Use Python APIs to inspect a bitfields variable."""
         exe = os.path.join(os.getcwd(), "a.out")





More information about the lldb-commits mailing list