aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Host/common/FileSystem.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2021-01-22 15:04:11 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2021-01-22 15:04:17 -0800
commit3a50ed84f4823fb0e7b385cc22fef12435dfd376 (patch)
tree00c5886ef86bf3be15373415237b4c8cd7b1ccb0 /lldb/source/Host/common/FileSystem.cpp
parent6ef95056b9dce1aa64d975b70f059673484bed87 (diff)
downloadllvm-3a50ed84f4823fb0e7b385cc22fef12435dfd376.zip
llvm-3a50ed84f4823fb0e7b385cc22fef12435dfd376.tar.gz
llvm-3a50ed84f4823fb0e7b385cc22fef12435dfd376.tar.bz2
[lldb] FixFileSystem::GetExternalPath for VFS API change
Diffstat (limited to 'lldb/source/Host/common/FileSystem.cpp')
-rw-r--r--lldb/source/Host/common/FileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> FileSystem::GetExternalPath(const llvm::Twine &path) {
// If VFS mapped we know the underlying FS is a RedirectingFileSystem.
ErrorOr<vfs::RedirectingFileSystem::Entry *> E =
- static_cast<vfs::RedirectingFileSystem &>(*m_fs).lookupPath(path);
+ static_cast<vfs::RedirectingFileSystem &>(*m_fs).lookupPath(path.str());
if (!E) {
if (E.getError() == llvm::errc::no_such_file_or_directory) {
return path.str();