[libc-commits] [PATCH] D72102: [libc] Add __attribute__((always_inline)) to x86_64 syscall functions.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Jan 6 13:20:33 PST 2020


sivachandra added a comment.

In D72102#1806672 <https://reviews.llvm.org/D72102#1806672>, @abrachet wrote:

> Shouldn't these all be `static` as well, actually?


We really want these functions to be inlined. So, I am not sure how static helps in such scenarios. If they are not inlined, there are probably some advantages in ELF land, but we end up with multiple copies.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72102/new/

https://reviews.llvm.org/D72102





More information about the libc-commits mailing list