aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshok Thirumurthi <ashok.thirumurthi@intel.com>2013-07-31 20:01:04 +0000
committerAshok Thirumurthi <ashok.thirumurthi@intel.com>2013-07-31 20:01:04 +0000
commitcae3de0877cb951519f27a88307c81c990910543 (patch)
tree69774d7124990b8d2be38e3999512758cf8c8fd9
parent93d8e42f14e322a501c94d5d6ca86fc726182e95 (diff)
downloadlldb-cae3de0877cb951519f27a88307c81c990910543.tar.gz
Adds a test for 'target module dump symfile' to the LLDB suite.
TODO: Improve coverage of SBTypeMember and of 'target module dump'. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@187519 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/lang/c/bitfields/TestBitfields.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lang/c/bitfields/TestBitfields.py b/test/lang/c/bitfields/TestBitfields.py
index 50dabd118..a88291e84 100644
--- a/test/lang/c/bitfields/TestBitfields.py
+++ b/test/lang/c/bitfields/TestBitfields.py
@@ -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")