| Age | Commit message (Collapse) | Author | Lines |
|
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
|
|
We need to use inline assembly, which is inherently platform-specific.
|
|
Fixes #75096
It's U.B. to use anything other than inline assmebling in a naked
function. Fortunately, the `#break` directive works fine without
anything in the function body.
|
|
A function that has no prologue cannot be reasonably expected to support
debuginfo. In fact, the existing code (before this patch) would generate
invalid instructions that caused crashes. We can solve this easily by
just not emitting the debuginfo in this case.
Fixes https://github.com/rust-lang/rust/issues/42779
cc https://github.com/rust-lang/rust/issues/32408
|