summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-04-27 19:45:16 +0000
committerChris Bieneman <beanz@apple.com>2017-04-27 19:45:16 +0000
commit29618779864e352e54bc56fd8db2d3e5101c7e30 (patch)
treeafbe79efb8d90266aae757ba2bdd3d7cd96452d9
parentdc9e8d22496488a4d0e988878ea6bdbddc27a525 (diff)
downloadbcm5719-llvm-29618779864e352e54bc56fd8db2d3e5101c7e30.tar.gz
bcm5719-llvm-29618779864e352e54bc56fd8db2d3e5101c7e30.zip
NFC. Add comment about debugserver usage
This just adds a comment to SocketAddress about it being used by debugserver and the implications of that. If we need to make changes to this class that make it unsuitable for debugserver we can re-implement the minimal abstractions we need from this file in debugserver. I would prefer not to do that because code duplication is bad. Nuff said. llvm-svn: 301580
-rw-r--r--lldb/source/Host/common/SocketAddress.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Host/common/SocketAddress.cpp b/lldb/source/Host/common/SocketAddress.cpp
index 542382433b4..440ae5d9027 100644
--- a/lldb/source/Host/common/SocketAddress.cpp
+++ b/lldb/source/Host/common/SocketAddress.cpp
@@ -6,6 +6,12 @@
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
+//
+// Note: This file is used on Darwin by debugserver, so it needs to remain as
+// self contained as possible, and devoid of references to LLVM unless
+// there is compelling reason.
+//
+//===----------------------------------------------------------------------===//
#if defined(_MSC_VER)
#define _WINSOCK_DEPRECATED_NO_WARNINGS
OpenPOWER on IntegriCloud