summaryrefslogtreecommitdiff
path: root/lib/LTO
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-12-28 16:58:54 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-12-28 16:58:54 +0000
commitca5092a11a09ddbaa11c3696596f11e56fb19229 (patch)
treeeec1cc517be04bfd0e3593210d3111f4d4d442d7 /lib/LTO
parent5f5f0081ae471668d50eb01afb13ccbf6bb1a6c1 (diff)
Avoid int to string conversion in Twine or raw_ostream contexts.
Some output changes from uppercase hex to lowercase hex, no other functionality change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321526 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/LTO')
-rw-r--r--lib/LTO/ThinLTOCodeGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LTO/ThinLTOCodeGenerator.cpp b/lib/LTO/ThinLTOCodeGenerator.cpp
index c8b3892375f..abcd8905ad3 100644
--- a/lib/LTO/ThinLTOCodeGenerator.cpp
+++ b/lib/LTO/ThinLTOCodeGenerator.cpp
@@ -76,7 +76,7 @@ static void saveTempBitcode(const Module &TheModule, StringRef TempDir,
if (TempDir.empty())
return;
// User asked to save temps, let dump the bitcode file after import.
- std::string SaveTempPath = (TempDir + llvm::utostr(count) + Suffix).str();
+ std::string SaveTempPath = (TempDir + llvm::Twine(count) + Suffix).str();
std::error_code EC;
raw_fd_ostream OS(SaveTempPath, EC, sys::fs::F_None);
if (EC)