[llvm-ar][NFC] Fix buildbot

llvm-svn: 368578
This commit is contained in:
Jordan Rupprecht 2019-08-12 14:21:51 +00:00
parent 8940687c6d
commit e011a5b4ed
1 changed files with 1 additions and 1 deletions

View File

@ -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