From 3a50ed84f4823fb0e7b385cc22fef12435dfd376 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 22 Jan 2021 15:04:11 -0800 Subject: [PATCH] [lldb] FixFileSystem::GetExternalPath for VFS API change --- lldb/source/Host/common/FileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.7.4