================ @@ -1572,6 +1572,15 @@ def findBuiltClang(self): return os.environ["CC"] + def getBuiltinServerTool(self, server_tool): + # Tries to find simulation/lldb-server/gdbserver tool at the same folder as the lldb. + lldb_dir = os.path.dirname(lldbtest_config.lldbExec) + path = shutil.which(server_tool, path=lldb_dir) + if path is not None: + return path + + return "" ---------------- santhoshe447 wrote:
Agreed with this comment. I would like to modify this function to get the lldb-server/gdbserver based on OS. Is this fine ? https://github.com/llvm/llvm-project/pull/91570 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits