diff options
| author | Jordan Rupprecht <rupprecht@google.com> | 2019-08-12 14:21:51 +0000 |
|---|---|---|
| committer | Jordan Rupprecht <rupprecht@google.com> | 2019-08-12 14:21:51 +0000 |
| commit | e011a5b4edf828dcaaa4ab5552b71d2bacaaecab (patch) | |
| tree | 0d38810d5d8a2c01a8216bd3ab73ba6e7227459d /llvm/tools/llvm-ar/llvm-ar.cpp | |
| parent | 8940687c6dcbf439f8437ca8f0cdd7158d87c3dd (diff) | |
| download | bcm5719-llvm-e011a5b4edf828dcaaa4ab5552b71d2bacaaecab.tar.gz bcm5719-llvm-e011a5b4edf828dcaaa4ab5552b71d2bacaaecab.zip | |
[llvm-ar][NFC] Fix buildbot
llvm-svn: 368578
Diffstat (limited to 'llvm/tools/llvm-ar/llvm-ar.cpp')
| -rw-r--r-- | llvm/tools/llvm-ar/llvm-ar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp index 0817e2db968..c83a6798bcc 100644 --- a/llvm/tools/llvm-ar/llvm-ar.cpp +++ b/llvm/tools/llvm-ar/llvm-ar.cpp @@ -476,7 +476,7 @@ static void doDisplayTable(StringRef Name, const object::Archive::Child &C) { 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 |

