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.
ConstantsΒ§
- KILL_
SIGNALS π - Signals that represent that we have a bug, and our prompt termination has been ordered.
FunctionsΒ§
- backtrace_
stderr π - backtrace_
symbols_ π βfd - install π
- When one of the KILL signals 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