llvm-project/libc/config/linux
Siva Chandra Reddy 6598af4a54 [libc] Add __attribute__((always_inline)) to x86_64 syscall functions.
Summary:
Some syscalls like SYS_clone do not tolerate a return instruction after
the syscall instruction. Marking the syscall functions with the
`always_inline` attribute accommodates such syscalls as inlining
eliminates the return instruction.

Reviewers: abrachet, phosek

Subscribers: MaskRay, tschuett, libc-commits

Tags: #libc-project

Differential Revision: https://reviews.llvm.org/D72102
2020-01-06 21:19:17 -08:00
..
x86_64 [libc] Add __attribute__((always_inline)) to x86_64 syscall functions. 2020-01-06 21:19:17 -08:00
CMakeLists.txt Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
api.td Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
errno.h.in
platfrom_defs.h.inc Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00
syscall_numbers.h.inc Add implementations of POSIX mmap and munmap functions. 2019-12-23 14:04:02 -08:00