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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: None (jimingham)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/78377.diff


1 Files Affected:

- (modified) lldb/test/API/functionalities/executable_first/TestExecutableFirst.py (+2-1) 


``````````diff
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)

``````````

</details>


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


More information about the lldb-commits mailing list