From: Jonas Devlieghere Date: Fri, 22 Jan 2021 23:04:11 +0000 (-0800) Subject: [lldb] FixFileSystem::GetExternalPath for VFS API change X-Git-Tag: llvmorg-13-init~392 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a50ed84f4823fb0e7b385cc22fef12435dfd376;p=platform%2Fupstream%2Fllvm.git [lldb] FixFileSystem::GetExternalPath for VFS API change --- diff --git a/lldb/source/Host/common/FileSystem.cpp b/lldb/source/Host/common/FileSystem.cpp index 8a6c03f..9fa8854 100644 --- a/lldb/source/Host/common/FileSystem.cpp +++ b/lldb/source/Host/common/FileSystem.cpp @@ -479,7 +479,7 @@ ErrorOr FileSystem::GetExternalPath(const llvm::Twine &path) { // If VFS mapped we know the underlying FS is a RedirectingFileSystem. ErrorOr E = - static_cast(*m_fs).lookupPath(path); + static_cast(*m_fs).lookupPath(path.str()); if (!E) { if (E.getError() == llvm::errc::no_such_file_or_directory) { return path.str();