Skip to content

Commit

Permalink
fixup! src: fix backtrace with [[noreturn]] abort
Browse files Browse the repository at this point in the history
  • Loading branch information
legendecas committed Nov 28, 2023
1 parent 536823a commit 3b89fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void DumpJavaScriptBacktrace(FILE* fp);
// backtraces may not work correctly in [[noreturn]] functions because
// when generating code for them the compiler can choose not to
// maintain the frame pointers or link registers that are necessary for
// correct backtracing.
// correct backtracing.
// `ABORT` must be a macro and not a [[noreturn]] function to make sure the
// backtrace is correct.
#define ABORT() \
Expand Down

0 comments on commit 3b89fba

Please sign in to comment.