diff options
| author | bors <bors@rust-lang.org> | 2015-04-28 00:44:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-04-28 00:44:56 +0000 |
| commit | 2b8c9b12f91c0bf2c1e6278a5f803c2df3698432 (patch) | |
| tree | c50c1c6986dae1d4ae23335c43155888aacd8bc6 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 97d4e76c20ec2e80affd100dd169155914370fd2 (diff) | |
| parent | d98ab4faf869ff0430ad73260b13ef8e473ef212 (diff) | |
| download | rust-2b8c9b12f91c0bf2c1e6278a5f803c2df3698432.tar.gz rust-2b8c9b12f91c0bf2c1e6278a5f803c2df3698432.zip | |
Auto merge of #24478 - alexcrichton:issue-24313, r=aturon
Inspecting the current thread's info may not always work due to the TLS value having been destroyed (or is actively being destroyed). The code for printing a panic message assumed, however, that it could acquire the thread's name through this method. Instead this commit propagates the `Option` outwards to allow the `std::panicking` module to handle the case where the current thread isn't present. While it solves the immediate issue of #24313, there is still another underlying issue of panicking destructors in thread locals will abort the process. Closes #24313
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
