Limit the number of stack nodes that are included in a summary

This commit is contained in:
Max Brunsfeld 2017-09-12 12:00:00 -07:00
parent 99d048e016
commit 819235bac3
3 changed files with 23 additions and 19 deletions

View file

@ -103,7 +103,7 @@ StackPopResult ts_stack_pop_all(Stack *, StackVersion);
unsigned ts_stack_depth_since_error(Stack *, StackVersion);
void ts_stack_record_summary(Stack *, StackVersion);
void ts_stack_record_summary(Stack *, StackVersion, unsigned max_depth);
StackSummary *ts_stack_get_summary(Stack *, StackVersion);