This is an archive of the discontinued LLVM Phabricator instance.

[Sanitizers][Driverkit] Stop using Sanitizer Allocator64 on Driverkit
ClosedPublic

Authored by thetruestblue on Aug 15 2023, 2:59 PM.

Details

Summary

Before refactoring this code, all arm64 were set to use the 32bit allocator. This patch reverts back that behavior for DriverKit.

Because we target DriverKit as the target OS, rather than a specific platform, reverting back to the previous behavior is preferred to fix a failure we are seeing on embedded platforms.
Though it may be more correct in the future to match the allocator to the platform being used.

rdar://113649286

Diff Detail

Event Timeline

thetruestblue created this revision.Aug 15 2023, 2:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2023, 2:59 PM
thetruestblue requested review of this revision.Aug 15 2023, 2:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2023, 2:59 PM
Herald added subscribers: Restricted Project, wangpc. · View Herald Transcript
yln accepted this revision.Aug 15 2023, 4:48 PM
This revision is now accepted and ready to land.Aug 15 2023, 4:48 PM
wrotki accepted this revision.Aug 15 2023, 9:05 PM

LGTM

rsundahl accepted this revision.Aug 15 2023, 9:10 PM

This looks good @thetruestblue... It should just revert the change for DriverKit which was passing prior the this change.