[LLDB] [Driver] Use llvm::InitLLVM to do unicode argument conversion on Windows
authorMartin Storsjo <martin@martin.st>
Fri, 11 Oct 2019 08:44:51 +0000 (08:44 +0000)
committerMartin Storsjo <martin@martin.st>
Fri, 11 Oct 2019 08:44:51 +0000 (08:44 +0000)
commit4778f40f782f4df6bdd0fb40e4c3fe8b5f3b571e
treeb40f657fe8d25652de2e2d1d8e40a651d9eedc2b
parent423c2e98e4e4c78c72f835fe6e59047419044425
[LLDB] [Driver] Use llvm::InitLLVM to do unicode argument conversion on Windows

This avoids the currently MSVC specific codepath of using the
wchar entry point and converting that to utf8.

Differential Revision: https://reviews.llvm.org/D68770

llvm-svn: 374526
lldb/tools/driver/Driver.cpp