diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2021-06-05 21:47:35 +0300 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2021-06-19 11:46:56 +0300 |
| commit | 9c9a0da132f9da505d741a733713e3ad5861d84a (patch) | |
| tree | a314417522b7b65befb1751a7bb33e25097cb216 /compiler/rustc_codegen_llvm/src/llvm/mod.rs | |
| parent | 66ba81059e15b3466c71fe5b5bf2418702dd1fd1 (diff) | |
| download | rust-9c9a0da132f9da505d741a733713e3ad5861d84a.tar.gz rust-9c9a0da132f9da505d741a733713e3ad5861d84a.zip | |
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 implementation approaches to consider. Some simpler, some more complicated. This particular solution is nice in that it also guards against accidental implementation issues in various pieces of runtime code, something we cannot prevent statically right now. Fixes #86030
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/mod.rs')
0 files changed, 0 insertions, 0 deletions
