llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Igor Kudrin (igorkudrin) <details> <summary>Changes</summary> The dynamic library must be transferred to the server; otherwise, the test will fail because the inferior process will not launch. --- Full diff: https://github.com/llvm/llvm-project/pull/181078.diff 1 Files Affected: - (modified) lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py (+2-3) ``````````diff diff --git a/lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py b/lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py index dad2b19a67170..ed696bca54ab4 100644 --- a/lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py +++ b/lldb/test/API/lang/c/tls_globals/TestTlsGlobals.py @@ -46,14 +46,13 @@ def test(self): self.build() exe = self.getBuildArtifact("a.out") target = self.dbg.CreateTarget(exe) - if self.platformIsDarwin(): - self.registerSharedLibrariesWithTarget(target, ["liba.dylib"]) + env = self.registerSharedLibrariesWithTarget(target, ["a"]) line1 = line_number("main.c", "// thread breakpoint") lldbutil.run_break_set_by_file_and_line( self, "main.c", line1, num_expected_locations=1, loc_exact=True ) - self.runCmd("run", RUN_SUCCEEDED) + target.LaunchSimple(None, env, self.get_process_working_directory()) # The stop reason of the thread should be breakpoint. self.runCmd("process status", "Get process status") `````````` </details> https://github.com/llvm/llvm-project/pull/181078 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
