This is an archive of the discontinued LLVM Phabricator instance.

Remove platform plugins from lldb-server
ClosedPublic

Authored by labath on May 19 2016, 8:59 AM.

Details

Summary

This removes the last usage of Platform plugins in lldb-server -- it was used for launching child
processes, where it can be trivially replaced by Host::LaunchProces (as lldb-server is always
running on the host).

Removing platform plugins enables us to remove a lot of other unused code, which was pulled in as
a transitive dependency, and it reduces lldb-server size by 4%--9% (depending on build type and
architecture).

Diff Detail

Event Timeline

labath updated this revision to Diff 57807.May 19 2016, 8:59 AM
labath retitled this revision from to Remove platform plugins from lldb-server.
labath updated this object.
labath added a reviewer: clayborg.
labath added a subscriber: lldb-commits.
clayborg accepted this revision.May 19 2016, 10:15 AM
clayborg edited edge metadata.
This revision is now accepted and ready to land.May 19 2016, 10:15 AM
This revision was automatically updated to reflect the committed changes.