about summary refs log tree commit diff
path: root/src/test/codegen/naked-noinline.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-31/+0
2022-07-06Stop emitting CET prologues for naked functionsJubilee Young-1/+1
We can apply nocf_check as a hack for now.
2022-01-21Reject unsupported naked functionsTomasz Miąsko-1/+0
Transition unsupported naked functions future incompatibility lint into an error: * Naked functions must contain a single inline assembly block. Introduced as future incompatibility lint in 1.50 #79653. Change into an error fixes a soundness issue described in #32489. * Naked functions must not use any forms of inline attribute. Introduced as future incompatibility lint in 1.56 #87652.
2021-12-12Stabilize asm! and global_asm!Amanieu d'Antras-11/+12
They are also removed from the prelude as per the decision in https://github.com/rust-lang/rust/issues/87228. stdarch and compiler-builtins are updated to work with the new, stable asm! and global_asm! macros.
2021-08-17Add needs-asm-support to more testsJosh Stone-0/+1
These were found as test failures on s390x for RHEL and Fedora.
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.