This is an archive of the discontinued LLVM Phabricator instance.

[safestack] Fix Mmap on FreeBSD AArch64
ClosedPublic

Authored by andrew on May 18 2022, 9:20 AM.

Details

Reviewers
vitalybuka
MaskRay
Group Reviewers
Restricted Project
Commits
rGccae01cbce8a: [compiler-rt] Fix Mmap on FreeBSD AArch64
Summary

On FreeBSD AArch64 safestack needs to use __syscall to handle 64 bit arguments

Diff Detail

Event Timeline

andrew created this revision.May 18 2022, 9:20 AM
andrew requested review of this revision.May 18 2022, 9:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 18 2022, 9:20 AM
vitalybuka accepted this revision.May 19 2022, 6:20 PM
This revision is now accepted and ready to land.May 19 2022, 6:20 PM
MaskRay accepted this revision.May 19 2022, 6:46 PM
MaskRay added a subscriber: MaskRay.

I think placing the OS before && is more common.

compiler-rt/lib/safestack/safestack_platform.h
97
This revision was automatically updated to reflect the committed changes.