Refactor many file functions to use FileSpec over strings.
authorChaoren Lin <chaorenl@google.com>
Fri, 29 May 2015 19:52:29 +0000 (19:52 +0000)
committerChaoren Lin <chaorenl@google.com>
Fri, 29 May 2015 19:52:29 +0000 (19:52 +0000)
commitd3173f34e8546a96b8d0df0d9de133f88f10c127
tree5e778446085cbd4a4d43fc3b488b3ac6ff17f2b5
parent375432e4d8f50212bca3d9228e349b5a00f770d7
Refactor many file functions to use FileSpec over strings.

Summary:
This should solve the issue of sending denormalized paths over gdb-remote
if we stick to GetPath(false) in GDBRemoteCommunicationClient, and let the
server handle any denormalization.

Reviewers: ovyalov, zturner, vharron, clayborg

Reviewed By: clayborg

Subscribers: tberghammer, emaste, lldb-commits

Differential Revision: http://reviews.llvm.org/D9728

llvm-svn: 238604
51 files changed:
lldb/include/lldb/Core/ConstString.h
lldb/include/lldb/Host/File.h
lldb/include/lldb/Host/FileSpec.h
lldb/include/lldb/Host/FileSystem.h
lldb/include/lldb/Host/Host.h
lldb/include/lldb/Target/FileAction.h
lldb/include/lldb/Target/Platform.h
lldb/include/lldb/Target/ProcessLaunchInfo.h
lldb/source/API/SBLaunchInfo.cpp
lldb/source/API/SBPlatform.cpp
lldb/source/API/SBProcess.cpp
lldb/source/API/SBTarget.cpp
lldb/source/Commands/CommandObjectPlatform.cpp
lldb/source/Host/android/ProcessLauncherAndroid.cpp
lldb/source/Host/common/Editline.cpp
lldb/source/Host/common/File.cpp
lldb/source/Host/common/FileSpec.cpp
lldb/source/Host/common/Host.cpp
lldb/source/Host/common/HostInfoBase.cpp
lldb/source/Host/common/Socket.cpp
lldb/source/Host/macosx/Host.mm
lldb/source/Host/posix/FileSystem.cpp
lldb/source/Host/posix/HostProcessPosix.cpp
lldb/source/Host/posix/PipePosix.cpp
lldb/source/Host/windows/FileSystem.cpp
lldb/source/Host/windows/ProcessLauncherWindows.cpp
lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
lldb/source/Plugins/Process/Linux/ProcessMonitor.cpp
lldb/source/Plugins/Process/Linux/ProcessMonitor.h
lldb/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
lldb/source/Plugins/Process/POSIX/ProcessPOSIX.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Target/FileAction.cpp
lldb/source/Target/Platform.cpp
lldb/source/Target/Process.cpp
lldb/source/Target/ProcessLaunchInfo.cpp
lldb/source/Target/Target.cpp
lldb/source/Utility/ModuleCache.cpp