diff options
| author | Robin Kruppe <robin.kruppe@gmail.com> | 2017-11-20 17:47:29 +0100 |
|---|---|---|
| committer | Robin Kruppe <robin.kruppe@gmail.com> | 2017-11-20 17:47:29 +0100 |
| commit | 296aa96deb7e7676455db22dcdbaab83d21736ce (patch) | |
| tree | cedbe77b8edd7432d92a5f13ec8b760ed0be33aa /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 26e881d00fee7f28bdb7f0562dbcb7f24db43d1a (diff) | |
| download | rust-296aa96deb7e7676455db22dcdbaab83d21736ce.tar.gz rust-296aa96deb7e7676455db22dcdbaab83d21736ce.zip | |
[rustllvm] Use report_fatal_error over llvm_unreachable
This makes it more robust when assertions are disabled, crashing instead of causing UB. Also introduces a tidy check to enforce this rule, which in turn necessitated making tidy run on src/rustllvm. Fixes #44020
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
