diff options
author | José Valim <[email protected]> | 2017-05-24 12:59:14 +0200 |
---|---|---|
committer | José Valim <[email protected]> | 2017-07-07 13:05:56 +0200 |
commit | e8d45ae14c6c3bdfcbbc7964228b004ef4f11ea6 (patch) | |
tree | b67c91b79cf05cad579f24e57acc360068a87276 /lib/erl_interface/vsn.mk | |
parent | e011a03496e86eb20c21c5edcbafbb8dcbebe22d (diff) | |
download | otp-e8d45ae14c6c3bdfcbbc7964228b004ef4f11ea6.tar.gz otp-e8d45ae14c6c3bdfcbbc7964228b004ef4f11ea6.tar.bz2 otp-e8d45ae14c6c3bdfcbbc7964228b004ef4f11ea6.zip |
Add stacktrace entries to BIF calls from emulator
The goal of this change is to improve debugging of
emulator calls. For example, the following code
rem(1, y)
will error with atom `badarith` when y is 0 and the
stacktrace has no entry for `erlang:rem/2`, making
such cases very hard to debug. This patch makes it
so the stacktrace includes `erlang:rem(1, 0)`.
The following emulator BIFs have been changed:
* band/2
* bnot/1
* bor/2
* bsl/2
* bsr/2
* bxor/2
* div/2
* element/2
* int_div/2
* rem/2
* sminus/2
* splus/2
* stimes/2
Diffstat (limited to 'lib/erl_interface/vsn.mk')
0 files changed, 0 insertions, 0 deletions