about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2024-03-15 16:49:08 -0700
committerJosh Stone <jistone@redhat.com>2024-03-15 16:49:08 -0700
commit8d374b1f2af876423435e47b66c01cd6fa38aaa1 (patch)
treec3ce239038d45bdbf864634da91bfa3e2c8ea644 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentadf57a75d5014b620f2c09587b6e1e108a7622da (diff)
downloadrust-8d374b1f2af876423435e47b66c01cd6fa38aaa1.tar.gz
rust-8d374b1f2af876423435e47b66c01cd6fa38aaa1.zip
Install the bad-alloc handler before fatal errors
The bad-alloc installer was incorrectly asserting that the other handler
isn't set yet, instead of checking its own, but we can avoid that by
changing the order we install them.

Ref: https://github.com/llvm/llvm-project/issues/83040
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions