about summary refs log tree commit diff
path: root/src/test/codegen/naked-noinline.rs
AgeCommit message (Collapse)AuthorLines
2021-03-05Bump mir-opt-level from 2 to 3 in testsSantiago Pastorino-1/+1
2020-11-20Never inline naked functionsTomasz Miąsko-0/+30
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.