Adds the --trunc_large_issues flag to the parse command. This flag will instruct the parser to truncate to a 100 the maximum number of issues reported in an individual task. An issue is either a Note, a Warning or an Error.
This is useful to reduce the memory used by the tool and the final size of the report generated. We observed this when turning on Swift LTO, that created a task with ~40k repeated warnings that blew up the JSONEnconder memory and made it crash.
Adds the
--trunc_large_issues
flag to theparse
command. This flag will instruct the parser to truncate to a 100 the maximum number of issues reported in an individual task. An issue is either a Note, a Warning or an Error.This is useful to reduce the memory used by the tool and the final size of the report generated. We observed this when turning on Swift LTO, that created a task with ~40k repeated warnings that blew up the
JSONEnconder
memory and made it crash.