mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
Restored some missing APIs for the test suite. Now testsuite still has some failures
due to overloaded SBTarget::Launch() calls. Bumping Xcode project versions: lldb-42 and debugserver-127. llvm-svn: 124063
This commit is contained in:
@@ -116,6 +116,36 @@ SBTarget::GetDebugger () const
|
||||
return debugger;
|
||||
}
|
||||
|
||||
SBProcess
|
||||
SBTarget::LaunchProcess
|
||||
(
|
||||
char const **argv,
|
||||
char const **envp,
|
||||
const char *tty,
|
||||
uint32_t launch_flags,
|
||||
bool stop_at_entry
|
||||
)
|
||||
{
|
||||
LogSP log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
|
||||
|
||||
if (log)
|
||||
log->Printf ("SBTarget(%p)::LaunchProcess (argv=%p, envp=%p, tty=\"%s\", launch_flags=%d, stop_at_entry=%i)",
|
||||
m_opaque_sp.get(), argv, envp, tty, launch_flags, stop_at_entry);
|
||||
|
||||
SBError sb_error;
|
||||
SBProcess sb_process = Launch (argv, envp, tty, tty, tty, NULL, launch_flags, stop_at_entry, sb_error);
|
||||
|
||||
log = lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API);
|
||||
if (log)
|
||||
{
|
||||
log->Printf ("SBTarget(%p)::LaunchProcess (...) => SBProcess(%p)",
|
||||
m_opaque_sp.get(), sb_process.get());
|
||||
}
|
||||
|
||||
return sb_process;
|
||||
}
|
||||
|
||||
|
||||
SBProcess
|
||||
SBTarget::Launch
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user