forked from OSchip/llvm-project
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:
parent
ce511f2fcb
commit
7782de923e
|
@ -2225,7 +2225,7 @@ public:
|
||||||
//------------------------------------------------------------------
|
//------------------------------------------------------------------
|
||||||
virtual Error
|
virtual Error
|
||||||
DoLaunch (Module *exe_module,
|
DoLaunch (Module *exe_module,
|
||||||
const ProcessLaunchInfo &launch_info)
|
ProcessLaunchInfo &launch_info)
|
||||||
{
|
{
|
||||||
Error error;
|
Error error;
|
||||||
error.SetErrorStringWithFormat("error: %s does not support launching processes", GetPluginName().GetCString());
|
error.SetErrorStringWithFormat("error: %s does not support launching processes", GetPluginName().GetCString());
|
||||||
|
|
|
@ -360,7 +360,7 @@ ProcessKDP::DoConnectRemote (Stream *strm, const char *remote_url)
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
Error
|
Error
|
||||||
ProcessKDP::DoLaunch (Module *exe_module,
|
ProcessKDP::DoLaunch (Module *exe_module,
|
||||||
const ProcessLaunchInfo &launch_info)
|
ProcessLaunchInfo &launch_info)
|
||||||
{
|
{
|
||||||
Error error;
|
Error error;
|
||||||
error.SetErrorString ("launching not supported in kdp-remote plug-in");
|
error.SetErrorString ("launching not supported in kdp-remote plug-in");
|
||||||
|
|
|
@ -85,7 +85,7 @@ public:
|
||||||
|
|
||||||
virtual lldb_private::Error
|
virtual lldb_private::Error
|
||||||
DoLaunch (lldb_private::Module *exe_module,
|
DoLaunch (lldb_private::Module *exe_module,
|
||||||
const lldb_private::ProcessLaunchInfo &launch_info);
|
lldb_private::ProcessLaunchInfo &launch_info);
|
||||||
|
|
||||||
virtual lldb_private::Error
|
virtual lldb_private::Error
|
||||||
WillAttachToProcessWithID (lldb::pid_t pid);
|
WillAttachToProcessWithID (lldb::pid_t pid);
|
||||||
|
|
|
@ -200,7 +200,7 @@ ProcessPOSIX::GetFilePath(
|
||||||
|
|
||||||
Error
|
Error
|
||||||
ProcessPOSIX::DoLaunch (Module *module,
|
ProcessPOSIX::DoLaunch (Module *module,
|
||||||
const ProcessLaunchInfo &launch_info)
|
ProcessLaunchInfo &launch_info)
|
||||||
{
|
{
|
||||||
Error error;
|
Error error;
|
||||||
assert(m_monitor == NULL);
|
assert(m_monitor == NULL);
|
||||||
|
|
|
@ -58,7 +58,7 @@ public:
|
||||||
|
|
||||||
virtual lldb_private::Error
|
virtual lldb_private::Error
|
||||||
DoLaunch (lldb_private::Module *exe_module,
|
DoLaunch (lldb_private::Module *exe_module,
|
||||||
const lldb_private::ProcessLaunchInfo &launch_info);
|
lldb_private::ProcessLaunchInfo &launch_info);
|
||||||
|
|
||||||
virtual void
|
virtual void
|
||||||
DidLaunch();
|
DidLaunch();
|
||||||
|
|
|
@ -662,7 +662,7 @@ ProcessGDBRemote::WillLaunchOrAttach ()
|
||||||
// Process Control
|
// Process Control
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
Error
|
Error
|
||||||
ProcessGDBRemote::DoLaunch (Module *exe_module, const ProcessLaunchInfo &launch_info)
|
ProcessGDBRemote::DoLaunch (Module *exe_module, ProcessLaunchInfo &launch_info)
|
||||||
{
|
{
|
||||||
Error error;
|
Error error;
|
||||||
|
|
||||||
|
|
|
@ -86,7 +86,7 @@ public:
|
||||||
|
|
||||||
virtual lldb_private::Error
|
virtual lldb_private::Error
|
||||||
DoLaunch (lldb_private::Module *exe_module,
|
DoLaunch (lldb_private::Module *exe_module,
|
||||||
const lldb_private::ProcessLaunchInfo &launch_info);
|
lldb_private::ProcessLaunchInfo &launch_info);
|
||||||
|
|
||||||
virtual void
|
virtual void
|
||||||
DidLaunch ();
|
DidLaunch ();
|
||||||
|
|
Loading…
Reference in New Issue