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.
- Not all OS support hardware where this is needed.
- Signal handler installed for SIGSEGV