aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-08-08 12:54:36 +0000
committerPavel Labath <labath@google.com>2016-08-08 12:54:36 +0000
commit1eb0d42a1b64ff7aa5d36af2df30fef929fead6f (patch)
tree8ea5f80a482d87d845670a87e7610da940b67a72 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
parentc923a3dc00c5dfdf68fabd6d9d85ccf2bedc6066 (diff)
downloadllvm-1eb0d42a1b64ff7aa5d36af2df30fef929fead6f.zip
llvm-1eb0d42a1b64ff7aa5d36af2df30fef929fead6f.tar.gz
llvm-1eb0d42a1b64ff7aa5d36af2df30fef929fead6f.tar.bz2
Remove Android.h
It only contained a reimplementation of std::to_string, which I have replaced with usages of pre-existing llvm::to_string (also, injecting members into the std namespace is evil). llvm-svn: 278000
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
index 9d6b976f..340ea86 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
@@ -33,6 +33,7 @@
#include "lldb/Target/Platform.h"
#include "lldb/Target/Process.h"
#include "llvm/ADT/SmallString.h"
+#include "llvm/Support/ScopedPrinter.h"
// Project includes
#include "ProcessGDBRemoteLog.h"
@@ -1250,7 +1251,7 @@ GDBRemoteCommunication::StartDebugserverProcess (const char *url,
}
int write_fd = socket_pipe.GetWriteFileDescriptor();
debugserver_args.AppendArgument("--pipe");
- debugserver_args.AppendArgument(std::to_string(write_fd).c_str());
+ debugserver_args.AppendArgument(llvm::to_string(write_fd).c_str());
launch_info.AppendCloseFileAction(socket_pipe.GetReadFileDescriptor());
#endif
}