[lldb] Move StringConvert inside debugserver
authorMichał Górny <mgorny@moritz.systems>
Sat, 25 Sep 2021 10:47:06 +0000 (12:47 +0200)
committerMichał Górny <mgorny@moritz.systems>
Mon, 27 Sep 2021 12:32:42 +0000 (14:32 +0200)
commit9da2fa277e818e94e45b836a3d416623c838e02a
treeb2cabc0b54c642083ca95788dce40e81e3659806
parentb1695c2eb8df0ceae5014dd4e8cc855d12309e2d
[lldb] Move StringConvert inside debugserver

The StringConvert API is no longer used anywhere but in debugserver.
Since debugserver does not use LLVM API, we cannot replace it with
llvm::to_integer() and llvm::to_float() there.  Let's just move
the sources into debugserver.

Differential Revision: https://reviews.llvm.org/D110478
lldb/include/lldb/Host/StringConvert.h [deleted file]
lldb/include/lldb/module.modulemap
lldb/source/Host/CMakeLists.txt
lldb/source/Host/common/StringConvert.cpp [deleted file]
lldb/tools/debugserver/source/CMakeLists.txt
lldb/tools/debugserver/source/JSON.cpp
lldb/tools/debugserver/source/StringConvert.cpp [new file with mode: 0644]
lldb/tools/debugserver/source/StringConvert.h [new file with mode: 0644]