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" _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits