Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress debuginfo on naked function arguments #74105

Merged
merged 1 commit into from
Jul 30, 2020
Merged

Commits on Jul 27, 2020

  1. Suppress debuginfo on naked function arguments

    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 rust-lang#42779
    cc rust-lang#32408
    npmccallum committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    2567074 View commit details
    Browse the repository at this point in the history