diff options
author | Björn Gustavsson <[email protected]> | 2018-04-06 13:02:52 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2018-04-06 13:02:52 +0200 |
commit | 758184b8d354cf6f32e8849e5685336bf2bb475f (patch) | |
tree | 0dabc8260224e2ae49880e54e3b6d339f9ded7ed | |
parent | 83c66153ba03fabbe175efa3fdb400010c2dad98 (diff) | |
parent | bcd8790fdf9549f014c35982732dbcd1270fbe9e (diff) | |
download | otp-758184b8d354cf6f32e8849e5685336bf2bb475f.tar.gz otp-758184b8d354cf6f32e8849e5685336bf2bb475f.tar.bz2 otp-758184b8d354cf6f32e8849e5685336bf2bb475f.zip |
Merge pull request #1774 from bjorng/bjorn/erts/dump-literal-funs
Support dumping of external fun literals to a crash dump
-rw-r--r-- | erts/emulator/beam/erl_process_dump.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process_dump.c b/erts/emulator/beam/erl_process_dump.c index 00659f9f49..5db276ec7f 100644 --- a/erts/emulator/beam/erl_process_dump.c +++ b/erts/emulator/beam/erl_process_dump.c @@ -942,6 +942,9 @@ dump_module_literals(fmtfn_t to, void *to_arg, ErtsLiteralArea* lit_area) } erts_putc(to, to_arg, '\n'); } + } else if (is_export_header(w)) { + dump_externally(to, to_arg, term); + erts_putc(to, to_arg, '\n'); } size = 1 + header_arity(w); switch (w & _HEADER_SUBTAG_MASK) { |