diff options
author | Pavel Labath <labath@google.com> | 2016-08-08 12:54:36 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2016-08-08 12:54:36 +0000 |
commit | 1eb0d42a1b64ff7aa5d36af2df30fef929fead6f (patch) | |
tree | 8ea5f80a482d87d845670a87e7610da940b67a72 /lldb/source/Host/linux/Host.cpp | |
parent | c923a3dc00c5dfdf68fabd6d9d85ccf2bedc6066 (diff) | |
download | bcm5719-llvm-1eb0d42a1b64ff7aa5d36af2df30fef929fead6f.tar.gz bcm5719-llvm-1eb0d42a1b64ff7aa5d36af2df30fef929fead6f.zip |
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/Host/linux/Host.cpp')
-rw-r--r-- | lldb/source/Host/linux/Host.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Host/linux/Host.cpp b/lldb/source/Host/linux/Host.cpp index 62bf5362de0..53d74d55234 100644 --- a/lldb/source/Host/linux/Host.cpp +++ b/lldb/source/Host/linux/Host.cpp @@ -19,6 +19,7 @@ // C++ Includes // Other libraries and framework includes +#include "llvm/Support/ScopedPrinter.h" // Project includes #include "lldb/Core/Error.h" #include "lldb/Core/Log.h" @@ -26,9 +27,6 @@ #include "lldb/Host/Host.h" #include "lldb/Host/HostInfo.h" -#ifdef __ANDROID_NDK__ -#include "lldb/Host/android/Android.h" -#endif #include "lldb/Core/DataBufferHeap.h" #include "lldb/Core/DataExtractor.h" @@ -236,7 +234,7 @@ Host::FindProcessThreads (const lldb::pid_t pid, TidMap &tids_to_attach) bool tids_changed = false; static const char procdir[] = "/proc/"; static const char taskdir[] = "/task/"; - std::string process_task_dir = procdir + std::to_string(pid) + taskdir; + std::string process_task_dir = procdir + llvm::to_string(pid) + taskdir; DIR *dirproc = opendir (process_task_dir.c_str()); if (dirproc) |