summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleksiy Vyalov <ovyalov@google.com>2015-05-29 20:32:26 +0000
committerOleksiy Vyalov <ovyalov@google.com>2015-05-29 20:32:26 +0000
commit671a194d88aaac0690666030ce163494c5903454 (patch)
treeded5b6aed24bc5b40a82a4b5bbafaced6e9f5933
parente45f0c1609044966bef852759331f61c84a6e41d (diff)
downloadbcm5719-llvm-671a194d88aaac0690666030ce163494c5903454.tar.gz
bcm5719-llvm-671a194d88aaac0690666030ce163494c5903454.zip
Fix build - GetRemoteWorkingDirectory returns FileSpec instead of ConstString.
llvm-svn: 238610
-rw-r--r--lldb/source/Plugins/Platform/Android/PlatformAndroid.cpp2
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 ());
}
OpenPOWER on IntegriCloud