mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 08:48:29 +00:00
Release redbean 2.0.4
This commit is contained in:
parent
d5312b60f7
commit
5ddf43332e
4 changed files with 19 additions and 24 deletions
|
@ -43,14 +43,7 @@ relegated wontreturn void __die(void) {
|
|||
if (IsDebuggerPresent(false)) {
|
||||
DebugBreak();
|
||||
}
|
||||
if (weaken(ShowBacktrace)) {
|
||||
weaken(ShowBacktrace)(2, __builtin_frame_address(0));
|
||||
} else if (weaken(PrintBacktraceUsingSymbols) && weaken(GetSymbolTable)) {
|
||||
weaken(PrintBacktraceUsingSymbols)(2, __builtin_frame_address(0),
|
||||
weaken(GetSymbolTable)());
|
||||
} else {
|
||||
kprintf("can't backtrace b/c `ShowCrashReports` not linked\n");
|
||||
}
|
||||
ShowBacktrace(2, __builtin_frame_address(0));
|
||||
__restorewintty();
|
||||
_Exit(77);
|
||||
} else if (owner == me) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue