Remove 'const' constraint on ProcessLaunchInfo parameter in Process::DoLaunch().

This 'const' is not required and prevent us to defer the launch to the Host layer.

llvm-svn: 196837
This commit is contained in:
Jean-Daniel Dupas 2013-12-09 22:52:50 +00:00
parent ce511f2fcb
commit 7782de923e
7 changed files with 7 additions and 7 deletions

View File

@ -2225,7 +2225,7 @@ public:
//------------------------------------------------------------------
virtual Error
DoLaunch (Module *exe_module,
const ProcessLaunchInfo &launch_info)
ProcessLaunchInfo &launch_info)
{
Error error;
error.SetErrorStringWithFormat("error: %s does not support launching processes", GetPluginName().GetCString());

View File

@ -360,7 +360,7 @@ ProcessKDP::DoConnectRemote (Stream *strm, const char *remote_url)
//----------------------------------------------------------------------
Error
ProcessKDP::DoLaunch (Module *exe_module,
const ProcessLaunchInfo &launch_info)
ProcessLaunchInfo &launch_info)
{
Error error;
error.SetErrorString ("launching not supported in kdp-remote plug-in");

View File

@ -85,7 +85,7 @@ public:
virtual lldb_private::Error
DoLaunch (lldb_private::Module *exe_module,
const lldb_private::ProcessLaunchInfo &launch_info);
lldb_private::ProcessLaunchInfo &launch_info);
virtual lldb_private::Error
WillAttachToProcessWithID (lldb::pid_t pid);

View File

@ -200,7 +200,7 @@ ProcessPOSIX::GetFilePath(
Error
ProcessPOSIX::DoLaunch (Module *module,
const ProcessLaunchInfo &launch_info)
ProcessLaunchInfo &launch_info)
{
Error error;
assert(m_monitor == NULL);

View File

@ -58,7 +58,7 @@ public:
virtual lldb_private::Error
DoLaunch (lldb_private::Module *exe_module,
const lldb_private::ProcessLaunchInfo &launch_info);
lldb_private::ProcessLaunchInfo &launch_info);
virtual void
DidLaunch();

View File

@ -662,7 +662,7 @@ ProcessGDBRemote::WillLaunchOrAttach ()
// Process Control
//----------------------------------------------------------------------
Error
ProcessGDBRemote::DoLaunch (Module *exe_module, const ProcessLaunchInfo &launch_info)
ProcessGDBRemote::DoLaunch (Module *exe_module, ProcessLaunchInfo &launch_info)
{
Error error;

View File

@ -86,7 +86,7 @@ public:
virtual lldb_private::Error
DoLaunch (lldb_private::Module *exe_module,
const lldb_private::ProcessLaunchInfo &launch_info);
lldb_private::ProcessLaunchInfo &launch_info);
virtual void
DidLaunch ();