diff options
author | Chris Bieneman <beanz@apple.com> | 2017-07-19 18:57:16 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2017-07-19 18:57:16 +0000 |
commit | 04f3910537eb509ba3033d84bc011eb00b92cb87 (patch) | |
tree | 2018707f3f52b3a91476a60d59ef100605c09ee7 | |
parent | 0bfca8674f38fdef8f0ce1b8af4fe9f58f97f93f (diff) | |
download | bcm5719-llvm-04f3910537eb509ba3033d84bc011eb00b92cb87.tar.gz bcm5719-llvm-04f3910537eb509ba3033d84bc011eb00b92cb87.zip |
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
-rw-r--r-- | lldb/include/lldb/API/SBTarget.h | 8 | ||||
-rw-r--r-- | lldb/source/API/SBTarget.cpp | 10 |
2 files changed, 0 insertions, 18 deletions
diff --git a/lldb/include/lldb/API/SBTarget.h b/lldb/include/lldb/API/SBTarget.h index 62398fcd4b9..1ea96381884 100644 --- a/lldb/include/lldb/API/SBTarget.h +++ b/lldb/include/lldb/API/SBTarget.h @@ -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. /// diff --git a/lldb/source/API/SBTarget.cpp b/lldb/source/API/SBTarget.cpp index c706344ee4a..417a15074c7 100644 --- a/lldb/source/API/SBTarget.cpp +++ b/lldb/source/API/SBTarget.cpp @@ -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 |