13

Never inline naked functions by tmiasko · Pull Request #79192 · rust-lang/rust ·...

 3 years ago
source link: https://github.com/rust-lang/rust/pull/79192
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Contributor

tmiasko commented on Nov 19

The #[naked] attribute disabled prologue / epilogue emission for the
function and it is responsibility of a developer to provide them. The
compiler is no position to inline such functions correctly.

Disable inlining of naked functions at LLVM and MIR level.

Closes #60919.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK