Page MenuHomePhabricator

Add DriverKit support
ClosedPublic

Authored by egorzhdan on Jan 24 2022, 7:37 AM.

Details

Summary

This patch is the first in a series of patches to upstream the support for Apple's DriverKit. Once complete, it will allow targeting DriverKit platform with Clang similarly to AppleClang.

This code was originally authored by JF Bastien.

Diff Detail

Event Timeline

egorzhdan created this revision.Jan 24 2022, 7:37 AM
egorzhdan requested review of this revision.Jan 24 2022, 7:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 24 2022, 7:37 AM
egorzhdan updated this revision to Diff 402857.Jan 25 2022, 5:00 AM

Fix clang-format warnings in the added code

Can you add a test case that verifies that using driverkit without a version will default it to driverkit19?

  • Add unit-tests to verify that DriverKit version defaults to 19
  • Use DriverKit 20 as a minimum available version on arm & add a test for it
This revision is now accepted and ready to land.Feb 21 2022, 10:12 AM
This revision was landed with ongoing or failed builds.Feb 22 2022, 5:43 AM
This revision was automatically updated to reflect the committed changes.