diff options
author | Magnus Lång <[email protected]> | 2016-11-19 14:26:01 +0100 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-11-19 16:13:36 +0100 |
commit | e7250092945c7d15063d7b2f8ab50070b2a30786 (patch) | |
tree | 9ffa2dce8d3786405d0d54a6749bffccb8aef8b7 /erts/emulator/beam/erl_utils.h | |
parent | 4683b5c227a238ee27f658bdfe2981c4b69acf09 (diff) | |
download | otp-e7250092945c7d15063d7b2f8ab50070b2a30786.tar.gz otp-e7250092945c7d15063d7b2f8ab50070b2a30786.tar.bz2 otp-e7250092945c7d15063d7b2f8ab50070b2a30786.zip |
hipe: Improve error message on internal crashes
Print the MFA/module being compiled, and pretty-print the backtrace with
lib:format_stacktrace/4.
Additionally, make the error_msg/2 macro in hipe.hrl respect the
HIPE_LOGGING define, since messages produced by this macro just before
runtime shutdown were sometimes lost (since code_server:error_msg/2 is
asynchronous).
Diffstat (limited to 'erts/emulator/beam/erl_utils.h')
0 files changed, 0 insertions, 0 deletions