[Lldb-commits] [lldb] r238610 - Fix build - GetRemoteWorkingDirectory returns FileSpec instead of ConstString.
Oleksiy Vyalov
ovyalov at google.com
Fri May 29 13:32:26 PDT 2015
Author: ovyalov
Date: Fri May 29 15:32:26 2015
New Revision: 238610
URL: http://llvm.org/viewvc/llvm-project?rev=238610&view=rev
Log:
Fix build - GetRemoteWorkingDirectory returns FileSpec instead of ConstString.
Modified:
lldb/trunk/source/Plugins/Platform/Android/PlatformAndroid.cpp
Modified: lldb/trunk/source/Plugins/Platform/Android/PlatformAndroid.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Android/PlatformAndroid.cpp?rev=238610&r1=238609&r2=238610&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Android/PlatformAndroid.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/Android/PlatformAndroid.cpp Fri May 29 15:32:26 2015
@@ -219,7 +219,7 @@ PlatformAndroid::GetFile (const FileSpec
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 ());
}
More information about the lldb-commits
mailing list