[Lldb-commits] [lldb] r221400 - Fixed the Objective-C stripped ivar test to ensure

Sean Callanan scallanan at apple.com
Wed Nov 5 13:24:27 PST 2014


Author: spyffe
Date: Wed Nov  5 15:24:27 2014
New Revision: 221400

URL: http://llvm.org/viewvc/llvm-project?rev=221400&view=rev
Log:
Fixed the Objective-C stripped ivar test to ensure
that we load debug information properly.  If we don't
explicitly add-dsym, sometimes Spotlight will help out
and tell us about the dSYM but we shouldn't be relying
on that.  Thanks to Jim for catching this.

<rdar://problem/16424661>

Modified:
    lldb/trunk/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py

Modified: lldb/trunk/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py?rev=221400&r1=221399&r2=221400&view=diff
==============================================================================
--- lldb/trunk/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py (original)
+++ lldb/trunk/test/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py Wed Nov  5 15:24:27 2014
@@ -32,6 +32,8 @@ class TestObjCIvarStripped(TestBase):
         target = self.dbg.CreateTarget(exe)
         self.assertTrue(target, VALID_TARGET)
 
+        self.dbg.HandleCommand("add-dsym a.out.dSYM")
+
         breakpoint = target.BreakpointCreateByLocation(self.main_source, self.stop_line)
         self.assertTrue(breakpoint.IsValid() and breakpoint.GetNumLocations() > 0, VALID_BREAKPOINT)
 





More information about the lldb-commits mailing list