https://github.com/jimingham created 
https://github.com/llvm/llvm-project/pull/78377

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

>From 970fbad325ac101f930c2eb18a69d3341908b63b Mon Sep 17 00:00:00 2001
From: Jim Ingham <jing...@apple.com>
Date: Tue, 16 Jan 2024 17:50:35 -0800
Subject: [PATCH] Add the Linux "you can use this binary" bits to
 run_to_source_breakpoint.

Follow-on to a4cd99ea8736eda2b8b4de34453f55008bcf9c30 - I forgot you have to
add ANY shared library you want to use to extra_images...
---
 .../functionalities/executable_first/TestExecutableFirst.py    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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)

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to