This is an archive of the discontinued LLVM Phabricator instance.

[asan] Use dynamic shadow memory position on Apple Silicon macOS
ClosedPublic

Authored by kubamracek on Jun 30 2020, 1:51 PM.

Details

Summary

This is needed because macOS on Apple Silicon has some reserved pages inside the "regular" shadow memory location, and mapping over that location fails.

Diff Detail

Event Timeline

kubamracek created this revision.Jun 30 2020, 1:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2020, 1:51 PM
Herald added subscribers: Restricted Project, Charusso, hiraditya. · View Herald Transcript
yln accepted this revision.Jun 30 2020, 3:07 PM

This means we are using dynamic shadow placement everywhere but macOS i386 and x86_64, right?

This revision is now accepted and ready to land.Jun 30 2020, 3:07 PM
This revision was automatically updated to reflect the committed changes.