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

rustc_codegen_llvm: Restore the closure env alloca hack for LLVM 5. #53239

Merged
merged 1 commit into from
Aug 14, 2018

Commits on Aug 9, 2018

  1. rustc_codegen_llvm: Restore the closure env alloca hack for LLVM 5.

    This hack was removed in rust-lang#50949, but without it I found that building
    `std` with full debuginfo would print many LLVM `DW_OP_LLVM_fragment`
    errors, then die `LLVM ERROR: Failed to strip malformed debug info`.
    
    It doesn't seem to be a problem for LLVM 6, so we can re-enable the hack
    just for older LLVM.
    
    This reverts commit da579ef.
    Fixes rust-lang#53204.
    r? @eddyb
    cuviper committed Aug 9, 2018
    Configuration menu
    Copy the full SHA
    763e721 View commit details
    Browse the repository at this point in the history