From 130a5593a8b43f0a4cc52f6602c16bc65557e351 Mon Sep 17 00:00:00 2001 From: Ashok Thirumurthi Date: Wed, 31 Jul 2013 20:01:04 +0000 Subject: [PATCH] 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 --- lldb/test/lang/c/bitfields/TestBitfields.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lldb/test/lang/c/bitfields/TestBitfields.py b/lldb/test/lang/c/bitfields/TestBitfields.py index 50dabd1..a88291e 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") -- 2.7.4