This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add arm-32 syscall implementation.
ClosedPublic

Authored by sivachandra on Aug 28 2022, 11:41 PM.

Details

Summary

The implementation currently supports only non-thumb mode. As a test for
the implementation, mmap and munmap functions have been enabled.

Diff Detail

Event Timeline

sivachandra created this revision.Aug 28 2022, 11:41 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 28 2022, 11:41 PM
sivachandra requested review of this revision.Aug 28 2022, 11:41 PM
michaelrj accepted this revision.Aug 31 2022, 10:54 AM

LGTM with one nit

libc/src/__support/OSUtil/linux/arm/syscall.h
25

nit: should this be formatted like the rest?

This revision is now accepted and ready to land.Aug 31 2022, 10:54 AM
sivachandra marked an inline comment as done.Aug 31 2022, 11:11 AM
This revision was automatically updated to reflect the committed changes.