This is an archive of the discontinued LLVM Phabricator instance.

initial attempt to move TCPSocket from LLDB to LLVM
AbandonedPublicDraft

Authored by noajshu on Sep 23 2021, 1:38 PM.

Details

Reviewers
None
Summary

We would like to move the IOObject hierarchy from LLDB into LLVM so that we can use it (especially TCPSocket) in other projects. There are several details to be sorted out. We need to pick a different namespace for the IOObjects. We need to select which of the dependencies of the TCPSocket (e.g. Status.h, Log.h) we wish to move over into LLVM, and which ones we should replace.

Diff Detail

Event Timeline

noajshu created this revision.Sep 23 2021, 1:38 PM
phosek added a subscriber: phosek.Sep 23 2021, 5:35 PM

Rather than introducing llvm/lib/Host and llvm/lib/Utility, I'd prefer moving the classes to llvm/lib/Support which already contains the existing LLVM platform abstractions.

noajshu abandoned this revision.Oct 28 2021, 1:34 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 28 2021, 1:34 PM
llvm/include/llvm/Host/Socket.h