Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RFC 1201 ammendment: naked functions are never inlined
clang will automatically set the NoInline attribute for naked functions and the NoInline attribute wins over AlwaysInline attribute. Let's follow their lead and specify the same requiremet. As the compiller can't safely change/remove the prologue and epilogue for naked functions when it inlines them inlining the naked functions could result in strange bugs. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
- Loading branch information