summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/c/bitfields/TestBitfields.py
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
commit130a5593a8b43f0a4cc52f6602c16bc65557e351 (patch)
tree8d6f70139c40a1f462a2492fbf0c7ad91cf8fb36 /lldb/test/lang/c/bitfields/TestBitfields.py
parentdf67172d59e7f34f0728ae782ad176f6410e28da (diff)
downloadbcm5719-llvm-130a5593a8b43f0a4cc52f6602c16bc65557e351.tar.gz
bcm5719-llvm-130a5593a8b43f0a4cc52f6602c16bc65557e351.zip
Adds a test for 'target module dump symfile' to the LLDB suite.
TODO: Improve coverage of SBTypeMember and of 'target module dump'. llvm-svn: 187519
Diffstat (limited to 'lldb/test/lang/c/bitfields/TestBitfields.py')
-rw-r--r--lldb/test/lang/c/bitfields/TestBitfields.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/test/lang/c/bitfields/TestBitfields.py b/lldb/test/lang/c/bitfields/TestBitfields.py
index 50dabd11843..a88291e84d8 100644
--- a/lldb/test/lang/c/bitfields/TestBitfields.py
+++ b/lldb/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")
OpenPOWER on IntegriCloud