Module rustc_driver_impl::signal_handler
source · Expand description
Signal handler for rustc Primarily used to extract a backtrace from stack overflow
Macros§
- We don’t really care how many bytes we actually get out. SIGSEGV comes for our head. Splash stderr with letters of our own blood to warn our friends about the monster.
Structs§
- Unbuffered, unsynchronized writer to stderr.
Functions§
- install 🔒When SIGSEGV is delivered to the process, print a stack trace and then exit.
- Modern kernels on modern hardware can have dynamic signal stack sizes.
- Signal handler installed for SIGSEGV