mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
lli: use llvm::utostr() instead of std::to_string().
llvm-svn: 257857
This commit is contained in:
parent
0ff6f8a2a4
commit
682ca73aef
@ -16,6 +16,7 @@
|
||||
#include "OrcLazyJIT.h"
|
||||
#include "RemoteJITUtils.h"
|
||||
#include "llvm/IR/LLVMContext.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/ADT/Triple.h"
|
||||
#include "llvm/Bitcode/ReaderWriter.h"
|
||||
#include "llvm/CodeGen/LinkAllCodegenComponents.h"
|
||||
@ -741,11 +742,11 @@ std::unique_ptr<FDRPCChannel> launchRemote() {
|
||||
ChildPath.reset(new char[ChildExecPath.size() + 1]);
|
||||
std::copy(ChildExecPath.begin(), ChildExecPath.end(), &ChildPath[0]);
|
||||
ChildPath[ChildExecPath.size()] = '\0';
|
||||
std::string ChildInStr = std::to_string(PipeFD[0][0]);
|
||||
std::string ChildInStr = utostr(PipeFD[0][0]);
|
||||
ChildIn.reset(new char[ChildInStr.size() + 1]);
|
||||
std::copy(ChildInStr.begin(), ChildInStr.end(), &ChildIn[0]);
|
||||
ChildIn[ChildInStr.size()] = '\0';
|
||||
std::string ChildOutStr = std::to_string(PipeFD[1][1]);
|
||||
std::string ChildOutStr = utostr(PipeFD[1][1]);
|
||||
ChildOut.reset(new char[ChildOutStr.size() + 1]);
|
||||
std::copy(ChildOutStr.begin(), ChildOutStr.end(), &ChildOut[0]);
|
||||
ChildOut[ChildOutStr.size()] = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user