mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 05:16:06 +00:00
Fix GreenDragon bots
This commit removes a very old deprecated API that was causing compile failures for LLDB on Darwin. Since the comment says we only needed to keep the old API around for a few Xcode builds, and the comment was written 6 years ago... I think this can safely go away. Failure URL: http://lab.llvm.org:8080/green/view/LLDB/job/lldb_build_test/29936/console llvm-svn: 308509
This commit is contained in:
parent
0bfca8674f
commit
04f3910537
@ -218,14 +218,6 @@ public:
|
||||
lldb::SBProcess AttachToProcessWithID(SBListener &listener, 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.
|
||||
///
|
||||
|
@ -414,16 +414,6 @@ lldb::SBProcess SBTarget::Attach(SBAttachInfo &sb_attach_info, SBError &error) {
|
||||
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(
|
||||
SBListener &listener,
|
||||
lldb::pid_t pid, // The process ID to attach to
|
||||
|
Loading…
x
Reference in New Issue
Block a user