diff options
| author | Josh Stone <jistone@redhat.com> | 2018-08-09 16:35:25 -0700 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2018-08-25 15:31:19 +0200 |
| commit | a7b3af8ff6ae936a0082de39820b8322e474a58a (patch) | |
| tree | e4f9304746c550723b73fdbef0766a5ee75b416a /src/rustllvm/PassWrapper.cpp | |
| parent | 78326431fc9f832d1251ff855f74e0192a4a9324 (diff) | |
| download | rust-a7b3af8ff6ae936a0082de39820b8322e474a58a.tar.gz rust-a7b3af8ff6ae936a0082de39820b8322e474a58a.zip | |
rustc_codegen_llvm: Restore the closure env alloca hack for LLVM 5.
This hack was removed in #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 da579ef75e4a8ca11fb98b24a0a3ea0c7ccffeeb. Fixes #53204. r? @eddyb
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
