aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-02-21 08:20:52 +0100
committerBjörn Gustavsson <[email protected]>2011-08-16 08:58:51 +0200
commitbc8be0481586782f8dcf3781b74aff78079caa11 (patch)
treeb41c61334526865ae5323f133ee7a0cd1e61f886 /erts/emulator/beam/global.h
parent61e4c1626ba1f2357cf803f4e99352fd73d925d0 (diff)
downloadotp-bc8be0481586782f8dcf3781b74aff78079caa11.tar.gz
otp-bc8be0481586782f8dcf3781b74aff78079caa11.tar.bz2
otp-bc8be0481586782f8dcf3781b74aff78079caa11.zip
Lookup and include filenames and line numbers in exceptions
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index ab675ad4a1..5b36f13149 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -862,6 +862,8 @@ void erts_system_profile_clear(Process *c_p);
typedef struct {
BeamInstr* current; /* Pointer to: Mod, Name, Arity */
Uint needed; /* Heap space needed for entire tuple */
+ Uint32 loc; /* Location in source code */
+ Eterm* fname_ptr; /* Pointer to fname table */
} FunctionInfo;
int erts_load_module(Process *c_p, ErtsProcLocks c_p_locks,