]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #89376 - andjo403:selfProfileUseAfterDropFix, r=Mark-Simulacrum
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 1 Oct 2021 21:46:49 +0000 (14:46 -0700)
committerGitHub <noreply@github.com>
Fri, 1 Oct 2021 21:46:49 +0000 (14:46 -0700)
commit1781e4b81af0440ce58b6905724df5d3e2afd548
treeb6ca89d656f0a0bc5e153ea50e4961e6d428d6f2
parent743e842afb043b09f8be6dacd012b46befc7b736
parentd90934ce87352e7478f8c872a5a65363206082a0
Rollup merge of #89376 - andjo403:selfProfileUseAfterDropFix, r=Mark-Simulacrum

Fix use after drop in self-profile with llvm events

self-profile with `-Z self-profile-events=llvm` have failed with a segmentation fault due to this use after drop.
this type of events can be more useful now that the new passmanager is the default.
compiler/rustc_codegen_llvm/src/back/write.rs