diff options
| author | Josh Stone <jistone@redhat.com> | 2024-03-15 16:49:08 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2024-03-15 16:49:08 -0700 |
| commit | 8d374b1f2af876423435e47b66c01cd6fa38aaa1 (patch) | |
| tree | c3ce239038d45bdbf864634da91bfa3e2c8ea644 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | adf57a75d5014b620f2c09587b6e1e108a7622da (diff) | |
| download | rust-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
