Skip to content

Commit 705c5b8

Browse files
authored
Add the Linux "you can use this binary" bits to run_to_source_breakpoint (#78377)
Follow-on to a4cd99e - I forgot you have to add ANY shared library you want to use to extra_images...
1 parent 29b5f8f commit 705c5b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ def test_executable_is_first_before_run(self):
4141
def test_executable_is_first_during_run(self):
4242
self.build()
4343
(target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
44-
self, "break after function call", lldb.SBFileSpec("main.cpp")
44+
self, "break after function call", lldb.SBFileSpec("main.cpp"),
45+
extra_images=["bar"]
4546
)
4647

4748
first_module = target.GetModuleAtIndex(0)

0 commit comments

Comments
 (0)