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: Require assembly only inside naked functions
Following the requirements of clang/LLVM let's do two things: - Require naked functions to only contain inline assembly - Require naked functions to not reference the parameters As the compiler doesn't make any guarentees about the stack the two above points would be unsafe to allow. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
- Loading branch information
1 parent
eb232a0
commit ce06be6
Showing
1 changed file
with
12 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters