Skip to content

Commit

Permalink
lj_auditlog: Log the memory containing IR instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Jun 18, 2017
1 parent 376fb58 commit 0acc230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lj_auditlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ void lj_auditlog_trace_stop(jit_State *J, GCtrace *T)
log_mem("MCode[]", T->mcode, T->szmcode);
log_mem("SnapShot[]", T->snap, T->nsnap * sizeof(*T->snap));
log_mem("SnapEntry[]", T->snapmap, T->nsnapmap * sizeof(*T->snapmap));
log_mem("IRIns[]", &T->ir[T->nk], (T->nins - T->nk + 1) * sizeof(IRIns));
log_event("trace_stop", 1);
str_16("GCtrace"); /* = */ uint_64((uint64_t)T);
}
Expand Down

0 comments on commit 0acc230

Please sign in to comment.