diff options
Diffstat (limited to 'lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp')
| -rw-r--r-- | lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp b/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp index 34df5a9fcc5..898d13e2ebc 100644 --- a/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp +++ b/lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp @@ -219,7 +219,7 @@ PlatformAndroid::GetFile (const FileSpec& source, const auto source_path = source_spec.GetPath (false); if (llvm::sys::path::is_relative (source_path.c_str ())) { - source_spec.SetFile (GetRemoteWorkingDirectory ().AsCString (), false, FileSpec::ePathSyntaxPosix); + source_spec = GetRemoteWorkingDirectory (); source_spec.AppendPathComponent (source_path.c_str ()); } |

