Module rustc_driver_impl::signal_handler
source Β· Expand description
Signal handler for rustc Primarily used to extract a backtrace from stack overflow
Macros§
- raw_
errln π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§
- RawStderr πUnbuffered, unsynchronized writer to stderr.
Functions§
- backtrace_
stderr π - backtrace_
symbols_ π βfd - install πWhen SIGSEGV is delivered to the process, print a stack trace and then exit.
- min_
sigstack_ πsize Modern kernels on modern hardware can have dynamic signal stack sizes. - print_
stack_ πtrace Signal handler installed for SIGSEGV