[Lldb-commits] [lldb] 705c5b8 - Add the Linux "you can use this binary" bits to run_to_source_breakpoint (#78377)

via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 16 17:54:16 PST 2024


Author: jimingham
Date: 2024-01-16T17:54:12-08:00
New Revision: 705c5b80ace9d6fb1b9d1129ca1529d6645f1f24

URL: https://github.com/llvm/llvm-project/commit/705c5b80ace9d6fb1b9d1129ca1529d6645f1f24
DIFF: https://github.com/llvm/llvm-project/commit/705c5b80ace9d6fb1b9d1129ca1529d6645f1f24.diff

LOG: Add the Linux "you can use this binary" bits to run_to_source_breakpoint (#78377)

Follow-on to a4cd99ea8736eda2b8b4de34453f55008bcf9c30 - I forgot you
have to add ANY shared library you want to use to extra_images...

Added: 
    

Modified: 
    lldb/test/API/functionalities/executable_first/TestExecutableFirst.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/executable_first/TestExecutableFirst.py b/lldb/test/API/functionalities/executable_first/TestExecutableFirst.py
index 5c5573d5b38382..957628f695c128 100644
--- a/lldb/test/API/functionalities/executable_first/TestExecutableFirst.py
+++ b/lldb/test/API/functionalities/executable_first/TestExecutableFirst.py
@@ -41,7 +41,8 @@ def test_executable_is_first_before_run(self):
     def test_executable_is_first_during_run(self):
         self.build()
         (target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
-            self, "break after function call", lldb.SBFileSpec("main.cpp")
+            self, "break after function call", lldb.SBFileSpec("main.cpp"),
+            extra_images=["bar"]
         )
 
         first_module = target.GetModuleAtIndex(0)


        


More information about the lldb-commits mailing list