diff options
author | Sverker Eriksson <[email protected]> | 2017-09-13 15:40:17 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-09-13 15:40:17 +0200 |
commit | e90609f5e3e08cfcb88baa01189889fad302bbf7 (patch) | |
tree | 139547b05b1f7d98c462ac1b948a27ccdbe27ea8 /erts/emulator/beam/erl_port.h | |
parent | bde065de5088d896cda8ac708788bd8849c3164b (diff) | |
download | otp-e90609f5e3e08cfcb88baa01189889fad302bbf7.tar.gz otp-e90609f5e3e08cfcb88baa01189889fad302bbf7.tar.bz2 otp-e90609f5e3e08cfcb88baa01189889fad302bbf7.zip |
erts: Fix 'on_load' tracing bug for modules with -on_load
Symptom: VM crash when erlang:trace_pattern(on_load, ..) is set and
module with -on_load is loaded.
Problem: Tracing and -on_load clash in their use of Export.beam[1]
Solution: Do not do call set_default_trace_pattern in finish_loading_1
for modules with -on_load. finish_after_on_load_2 will do that anyway.
Diffstat (limited to 'erts/emulator/beam/erl_port.h')
0 files changed, 0 insertions, 0 deletions