rust/compiler/rustc_codegen_llvm/src/llvm
Josh Stone 0ade5a11f5 Register LLVM handlers for bad-alloc / OOM
LLVM's default bad-alloc handler may throw if exceptions are enabled,
and `operator new` isn't hooked at all by default. Now we register our
own handler that prints a message similar to fatal errors, then aborts.
We also call the function that registers the C++ `std::new_handler`.
2024-03-15 15:49:06 -07:00
..
archive_ro.rs Use object instead of LLVM for reading bitcode from rlibs 2022-07-25 16:07:23 +00:00
diagnostic.rs llvm-wrapper: fix warning C4244 2024-02-21 12:18:59 +03:00
ffi.rs Register LLVM handlers for bad-alloc / OOM 2024-03-15 15:49:06 -07:00
mod.rs Recognize AIX style archive kind 2023-04-19 11:10:47 +08:00