forked from OSchip/llvm-project
After moving lldb::pid_t to 64 bits, keep a deprecated version around for
previous binaries that link against this for a few builds to make sure we can continue to run against previous binaries. llvm-svn: 145668
This commit is contained in:
parent
e04741d03a
commit
1ba6cfd1e6
|
@ -181,6 +181,14 @@ public:
|
|||
lldb::pid_t pid,
|
||||
lldb::SBError& error);
|
||||
|
||||
#if defined(__APPLE__)
|
||||
// We need to keep this around for a build or two since Xcode links
|
||||
// to the 32 bit version of this function. We will take it out soon.
|
||||
lldb::SBProcess
|
||||
AttachToProcessWithID (SBListener &listener,
|
||||
::pid_t pid, // 32 bit int process ID
|
||||
lldb::SBError& error); // DEPRECATED
|
||||
#endif
|
||||
//------------------------------------------------------------------
|
||||
/// Attach to process with name.
|
||||
///
|
||||
|
|
|
@ -284,6 +284,17 @@ SBTarget::Launch
|
|||
return sb_process;
|
||||
}
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
||||
lldb::SBProcess
|
||||
SBTarget::AttachToProcessWithID (SBListener &listener,
|
||||
::pid_t pid,
|
||||
lldb::SBError& error)
|
||||
{
|
||||
return AttachToProcessWithID (listener, (lldb::pid_t)pid, error);
|
||||
}
|
||||
|
||||
#endif // #if defined(__APPLE__)
|
||||
|
||||
lldb::SBProcess
|
||||
SBTarget::AttachToProcessWithID
|
||||
|
|
Loading…
Reference in New Issue