Module 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