diff options
author | Siva Chandra Reddy <sivachandra@google.com> | 2020-01-02 11:09:18 -0800 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@google.com> | 2020-01-06 21:19:17 -0800 |
commit | 6598af4a54b0f67cdaf14ca1b6809e6f109679e8 (patch) | |
tree | dab8aa49bc22ee5185e57e1db1d49fb7a6bae260 /llvm/lib/Support/APFloat.cpp | |
parent | ff554a9179032167953595ca885a8fd12ac61036 (diff) | |
download | llvm-6598af4a54b0f67cdaf14ca1b6809e6f109679e8.zip llvm-6598af4a54b0f67cdaf14ca1b6809e6f109679e8.tar.gz llvm-6598af4a54b0f67cdaf14ca1b6809e6f109679e8.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
0 files changed, 0 insertions, 0 deletions