aboutsummaryrefslogtreecommitdiff
path: root/test/lang/c
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-03-26 23:03:23 +0000
committerGreg Clayton <gclayton@apple.com>2012-03-26 23:03:23 +0000
commitdc0a38c5a727cae5362b218a3180d0f4265a619d (patch)
tree0023f63715089d16dc7179c5ed557b0a7edd41cf /test/lang/c
parent155599b1db73149900d2407bbb990eda9e4d917d (diff)
downloadlldb-dc0a38c5a727cae5362b218a3180d0f4265a619d.tar.gz
<rdar://problem/11113279>
Fixed type lookups to "do the right thing". Prior to this fix, looking up a type using "foo::bar" would result in a type list that contains all types that had "bar" as a basename unless the symbol file was able to match fully qualified names (which our DWARF parser does not). This fix will allow type matches to be made based on the basename and then have the types that don't match filtered out. Types by name can be fully qualified, or partially qualified with the new "bool exact_match" parameter to the Module::FindTypes() method. This fixes some issue that we discovered with dynamic type resolution as well as improves the overall type lookups in LLDB. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lang/c')
-rw-r--r--test/lang/c/set_values/TestSetValues.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lang/c/set_values/TestSetValues.py b/test/lang/c/set_values/TestSetValues.py
index 7808b761c..d9e1ebf1c 100644
--- a/test/lang/c/set_values/TestSetValues.py
+++ b/test/lang/c/set_values/TestSetValues.py
@@ -99,12 +99,12 @@ class SetValuesTestCase(TestBase):
# main.c:57
# Check that 'frame variable -T' displays the correct data type and value.
self.expect("frame variable -T", VARIABLES_DISPLAYED_CORRECTLY,
- startstr = "(long int) i = 33")
+ startstr = "(long) i = 33")
# Now set variable 'i' and check that it is correctly displayed.
self.runCmd("expression i = 33333")
self.expect("frame variable -T", VARIABLES_DISPLAYED_CORRECTLY,
- startstr = "(long int) i = 33333")
+ startstr = "(long) i = 33333")
self.runCmd("continue")