aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_port.h
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-09-13 15:40:17 +0200
committerSverker Eriksson <[email protected]>2017-09-13 15:40:17 +0200
commite90609f5e3e08cfcb88baa01189889fad302bbf7 (patch)
tree139547b05b1f7d98c462ac1b948a27ccdbe27ea8 /erts/emulator/beam/erl_port.h
parentbde065de5088d896cda8ac708788bd8849c3164b (diff)
downloadotp-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