diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-11-30 09:28:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-30 09:28:27 +0100 |
| commit | 640a43178ebc3239d85c597b0a71566b67ab8e60 (patch) | |
| tree | b9ac8afc48a65bf310b9199ebf37fb5a5fb3f084 /compiler/rustc_codegen_gcc | |
| parent | 49fadeef596017014d1207872488bf5c6b4018ed (diff) | |
| parent | 10110787154154cddfaaacdeebd7a4406223a25b (diff) | |
| download | rust-640a43178ebc3239d85c597b0a71566b67ab8e60.tar.gz rust-640a43178ebc3239d85c597b0a71566b67ab8e60.zip | |
Rollup merge of #118464 - wesleywiser:fix_dispose_ordering, r=Nilstrieb
Dispose llvm::TargetMachines prior to llvm::Context being disposed If the TargetMachine is disposed after the Context is disposed, it can lead to use after frees in some cases. I've observed this happening occasionally on code compiled for aarch64-pc-windows-msvc using `-Zstack-protector=strong` but other users have reported AVs from host aarch64-pc-windows-msvc compilers as well. I was not able to extract a self-contained test case yet so there is no accompanying test. Fixes #118462
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
