aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-09-29 19:12:10 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-09-29 19:12:10 +0000
commit2c48dbec9628a5aa3a886cbce43fb3ace7e17bd1 (patch)
treeb8f0a62a52186df5d68377c15599da2c73a0be36
parent3c03027ecf3164e0520bd7e6ef92f4cb23270792 (diff)
downloadllvm-2c48dbec9628a5aa3a886cbce43fb3ace7e17bd1.zip
llvm-2c48dbec9628a5aa3a886cbce43fb3ace7e17bd1.tar.gz
llvm-2c48dbec9628a5aa3a886cbce43fb3ace7e17bd1.tar.bz2
Added an example 'frame variable' output to demonstrate how the generic_type_tester
groks the data type of the variable. llvm-svn: 115070
-rw-r--r--lldb/test/types/AbstractBase.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/test/types/AbstractBase.py b/lldb/test/types/AbstractBase.py
index 93aaa4d..b92303d 100644
--- a/lldb/test/types/AbstractBase.py
+++ b/lldb/test/types/AbstractBase.py
@@ -72,6 +72,11 @@ class GenericTester(TestBase):
# The input type is in a canonical form as a set named atoms.
# The display type string must conatin each and every element.
+ #
+ # Example:
+ # runCmd: frame variable a_array_bounded[0]
+ # output: (char) a_array_bounded[0] = 'a'
+ #
dt = re.match("^\((.*)\)", output).group(1)
# Expect the display type string to contain each and every atoms.