This is an archive of the discontinued LLVM Phabricator instance.

Push down more common code into PlatformPOSIX
ClosedPublic

Authored by labath on Feb 3 2017, 9:04 AM.

Details

Summary
  • GetFileWithUUID: All platforms except PlatformDarwin had this.

However, I see no reason why this code would not apply there as well.

  • GetProcessInfo, FindProcesses: The implementation was the same in all classes.
  • GetFullNameForDylib: This code should apply to all non-darwin

platforms. I've kept the PlatformDarwin override as the situation is
different there.

Diff Detail

Repository
rL LLVM

Event Timeline

labath created this revision.Feb 3 2017, 9:04 AM
clayborg accepted this revision.Feb 3 2017, 9:06 AM
This revision is now accepted and ready to land.Feb 3 2017, 9:06 AM
krytarowski accepted this revision.Feb 3 2017, 9:17 AM

Thank you for this patch.

indeed very nice

This revision was automatically updated to reflect the committed changes.