about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-10-29 14:18:02 +0200
committerGitHub <noreply@github.com>2022-10-29 14:18:02 +0200
commit6dd64d38a3621d9702cbffeaf491ce17903d16b5 (patch)
tree77d6ed90a1a8c19cf7cc7d6a23a4d1a23e84db5e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent73e7c3a4296fea6cedcd7c01d68d8cc9e5b625b2 (diff)
parentbfac2daef9912244d8a913a57b83c4e1b485993d (diff)
downloadrust-6dd64d38a3621d9702cbffeaf491ce17903d16b5.tar.gz
rust-6dd64d38a3621d9702cbffeaf491ce17903d16b5.zip
Rollup merge of #102721 - nbdd0121:panic, r=Amanieu
Prevent foreign Rust exceptions from being caught

Fix #102715

Use the address of a static variable (which is guaranteed to be unique per copy of std) to tell apart if a Rust exception comes from local or foreign Rust code, and abort for the latter.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions