diff options
| author | bors <bors@rust-lang.org> | 2021-06-19 17:05:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-06-19 17:05:08 +0000 |
| commit | 6b354a13820a444f834a33365ae4a8d97d7d27ce (patch) | |
| tree | d214f382c147bd428359817863efec3056de32d0 /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | 29cd70d40722930e66a8b726fe58a7bd1d64a22b (diff) | |
| parent | 9c9a0da132f9da505d741a733713e3ad5861d84a (diff) | |
| download | rust-6b354a13820a444f834a33365ae4a8d97d7d27ce.tar.gz rust-6b354a13820a444f834a33365ae4a8d97d7d27ce.zip | |
Auto merge of #86034 - nagisa:nagisa/rt-soundness, r=m-ou-se
Change entry point to 🛡️ against 💥 💥-payloads Guard against panic payloads panicking within entrypoints, where it is UB to do so. Note that there are a number of tradeoffs to consider. For instance, I considered guarding against accidental panics inside the `rt::init` and `rt::cleanup` code as well, as it is not all that obvious these may not panic, but doing so would mean that we initialize certain thread-local slots unconditionally, which has its own problems. Fixes #86030 r? `@m-ou-se`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
