[Lldb-commits] [lldb] 08c0a45 - Unbreak test after D111899

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 18 08:52:08 PST 2021


Author: Adrian Prantl
Date: 2021-11-18T08:51:50-08:00
New Revision: 08c0a45ab89c64195d8302d3cde20719cbd81d30

URL: https://github.com/llvm/llvm-project/commit/08c0a45ab89c64195d8302d3cde20719cbd81d30
DIFF: https://github.com/llvm/llvm-project/commit/08c0a45ab89c64195d8302d3cde20719cbd81d30.diff

LOG: Unbreak test after D111899

Added: 
    

Modified: 
    lldb/test/API/lang/objc/objc-new-syntax/ObjCNewSyntaxTest.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/objc/objc-new-syntax/ObjCNewSyntaxTest.py b/lldb/test/API/lang/objc/objc-new-syntax/ObjCNewSyntaxTest.py
index fda4d944b38a4..3be254b204eef 100644
--- a/lldb/test/API/lang/objc/objc-new-syntax/ObjCNewSyntaxTest.py
+++ b/lldb/test/API/lang/objc/objc-new-syntax/ObjCNewSyntaxTest.py
@@ -10,9 +10,12 @@ class ObjCNewSyntaxTest(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
+    def target(self):
+        return _target
+
     def runToBreakpoint(self):
         self.build()
-        self.target, process, thread, bkpt = lldbutil.run_to_source_breakpoint(
+        self._target, process, thread, bkpt = lldbutil.run_to_source_breakpoint(
             self, '// Set breakpoint 0 here.', lldb.SBFileSpec(
                 'main.m', False))
 


        


More information about the lldb-commits mailing list