[Lldb-commits] [lldb] r224290 - Now that AddressOf() does sane things with const results, this check is wrong. Since this is actually quite orthogonal to what this test is all about, actually get rid of the assertions

Enrico Granata egranata at apple.com
Mon Dec 15 15:36:23 PST 2014


Author: enrico
Date: Mon Dec 15 17:36:23 2014
New Revision: 224290

URL: http://llvm.org/viewvc/llvm-project?rev=224290&view=rev
Log:
Now that AddressOf() does sane things with const results, this check is wrong. Since this is actually quite orthogonal to what this test is all about, actually get rid of the assertions

Modified:
    lldb/trunk/test/python_api/sbdata/TestSBData.py

Modified: lldb/trunk/test/python_api/sbdata/TestSBData.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/sbdata/TestSBData.py?rev=224290&r1=224289&r2=224290&view=diff
==============================================================================
--- lldb/trunk/test/python_api/sbdata/TestSBData.py (original)
+++ lldb/trunk/test/python_api/sbdata/TestSBData.py Mon Dec 15 17:36:23 2014
@@ -205,10 +205,6 @@ class SBDataAPICase(TestBase):
         if self.TraceOn():
             print new_object
         
-        self.assertTrue(new_object.GetLoadAddress() == 0xFFFFFFFFFFFFFFFF, 'GetLoadAddress() == invalid')
-        self.assertTrue(new_object.AddressOf().IsValid() == False, 'AddressOf() == invalid')
-        self.assertTrue(new_object.GetAddress().IsValid() == False, 'GetAddress() == invalid')
-
         self.assertTrue(new_object.GetValue() == "1", 'new_object == 1')
 
         data.SetData(error, 'A\0\0\0', data.GetByteOrder(), data.GetAddressByteSize())





More information about the lldb-commits mailing list