diff options
| author | Oleksiy Vyalov <ovyalov@google.com> | 2015-05-29 20:32:26 +0000 |
|---|---|---|
| committer | Oleksiy Vyalov <ovyalov@google.com> | 2015-05-29 20:32:26 +0000 |
| commit | 671a194d88aaac0690666030ce163494c5903454 (patch) | |
| tree | ded5b6aed24bc5b40a82a4b5bbafaced6e9f5933 | |
| parent | e45f0c1609044966bef852759331f61c84a6e41d (diff) | |
| download | bcm5719-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.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 ()); } |

