[llvm] r368578 - [llvm-ar][NFC] Fix buildbot
Jordan Rupprecht via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 12 07:21:51 PDT 2019
Author: rupprecht
Date: Mon Aug 12 07:21:51 2019
New Revision: 368578
URL: http://llvm.org/viewvc/llvm-project?rev=368578&view=rev
Log:
[llvm-ar][NFC] Fix buildbot
Modified:
llvm/trunk/tools/llvm-ar/llvm-ar.cpp
Modified: llvm/trunk/tools/llvm-ar/llvm-ar.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-ar/llvm-ar.cpp?rev=368578&r1=368577&r2=368578&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-ar/llvm-ar.cpp (original)
+++ llvm/trunk/tools/llvm-ar/llvm-ar.cpp Mon Aug 12 07:21:51 2019
@@ -476,7 +476,7 @@ static void doDisplayTable(StringRef Nam
static std::string normalizePath(StringRef Path) {
return CompareFullPath ? sys::path::convert_to_slash(Path)
- : sys::path::filename(Path);
+ : std::string(sys::path::filename(Path));
}
// Implement the 'x' operation. This function extracts files back to the file
More information about the llvm-commits
mailing list