[Lldb-commits] [lldb] r148280 - /lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
Jim Ingham
jingham at apple.com
Mon Jan 16 18:17:45 PST 2012
Author: jingham
Date: Mon Jan 16 20:17:45 2012
New Revision: 148280
URL: http://llvm.org/viewvc/llvm-project?rev=148280&view=rev
Log:
Fix the test properly now that SBValue::GetValueAsUnsigned works for bitfields.
Modified:
lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
Modified: lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py?rev=148280&r1=148279&r2=148280&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py (original)
+++ lldb/trunk/test/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py Mon Jan 16 20:17:45 2012
@@ -76,10 +76,6 @@
mine_flag2 = mine.GetChildMemberWithName ("flag2")
self.assertTrue(mine_flag2, "Found mine->flag2 local variable.")
- flag2_value = int (mine_flag2.GetValue (), 0)
- self.assertTrue (flag2_value == 7)
-
- # GetValueAsUnsigned fails for bit-fields:
flag2_value = mine_flag2.GetValueAsUnsigned (error)
self.assertTrue (error.Success())
self.assertTrue (flag2_value == 7)
More information about the lldb-commits
mailing list