[Lldb-commits] [lldb] d23c15a - Do not define AcceptPIDFromInferior when it will not be used
Vedant Kumar via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 10 12:07:03 PST 2020
Author: Vedant Kumar
Date: 2020-02-10T12:06:46-08:00
New Revision: d23c15a687ff15327b88fa64da3184395012c2dc
URL: https://github.com/llvm/llvm-project/commit/d23c15a687ff15327b88fa64da3184395012c2dc
DIFF: https://github.com/llvm/llvm-project/commit/d23c15a687ff15327b88fa64da3184395012c2dc.diff
LOG: Do not define AcceptPIDFromInferior when it will not be used
Added:
Modified:
lldb/source/Host/macosx/objcxx/Host.mm
Removed:
################################################################################
diff --git a/lldb/source/Host/macosx/objcxx/Host.mm b/lldb/source/Host/macosx/objcxx/Host.mm
index 8c22b57d09d8..778cf3d90869 100644
--- a/lldb/source/Host/macosx/objcxx/Host.mm
+++ b/lldb/source/Host/macosx/objcxx/Host.mm
@@ -136,6 +136,8 @@
return false;
}
+#if !NO_XPC_SERVICES
+
static void *AcceptPIDFromInferior(void *arg) {
const char *connect_url = (const char *)arg;
ConnectionFileDescriptor file_conn;
@@ -154,8 +156,6 @@
return NULL;
}
-#if !NO_XPC_SERVICES
-
const char *applscript_in_new_tty = "tell application \"Terminal\"\n"
" activate\n"
" do script \"/bin/bash -c '%s';exit\"\n"
More information about the lldb-commits
mailing list