diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-29 21:14:15 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-29 21:16:46 -0800 |
commit | b2924d9956fd9a8ebe09145ff102b12d34c5edf2 (patch) | |
tree | e757cfe0cc2d4ddd8e5c6d6571f08ceb3922e817 /llvm/lib/LTO/LTOBackend.cpp | |
parent | 14a16fae434a86890546e5e0364086e231e7667e (diff) | |
download | llvm-b2924d9956fd9a8ebe09145ff102b12d34c5edf2.zip llvm-b2924d9956fd9a8ebe09145ff102b12d34c5edf2.tar.gz llvm-b2924d9956fd9a8ebe09145ff102b12d34c5edf2.tar.bz2 |
[llvm] Replace SmallStr.str().str() with std::string conversion operator.
Use the std::string conversion operator introduced in
d7049213d0fcda691c9e79f9b41e357198d99738.
Diffstat (limited to 'llvm/lib/LTO/LTOBackend.cpp')
-rw-r--r-- | llvm/lib/LTO/LTOBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOBackend.cpp b/llvm/lib/LTO/LTOBackend.cpp index 9b7ef07..14ed0cc1 100644 --- a/llvm/lib/LTO/LTOBackend.cpp +++ b/llvm/lib/LTO/LTOBackend.cpp @@ -349,7 +349,7 @@ void codegen(const Config &Conf, TargetMachine *TM, AddStreamFn AddStream, DwoFile = Conf.DwoDir; sys::path::append(DwoFile, std::to_string(Task) + ".dwo"); - TM->Options.MCOptions.SplitDwarfFile = DwoFile.str().str(); + TM->Options.MCOptions.SplitDwarfFile = std::string(DwoFile); } else TM->Options.MCOptions.SplitDwarfFile = Conf.SplitDwarfFile; |