summaryrefslogtreecommitdiff
path: root/macros/src
diff options
context:
space:
mode:
authormergify[bot]2022-02-01 21:37:08 +0000
committerGitHub2022-02-01 21:37:08 +0000
commit0eba2eb109910c1e4b980ccfc7f3ae85a8d0f223 (patch)
treec5785a5954fe59037046b3c9573c50823f0823ce /macros/src
parentcb77b061e835044b4f3a2b718fb7ce3971b5d06e (diff)
Improve error reporting (backport #2376) (#2379)
* Improve error reporting (#2376) * Do not trim stack traces of exceptions with no stack trace This prevents us from accidentally giving stack traces to exceptions that don't have them and giving misleading messages telling users to use --full-stacktrace when it won't actually do anything. Also deprecate ChiselException.chiselStackTrace which is no longer being used anywhere in this codebase. * Add exception class for multiple-errors reported New chisel3.internal.Errors replaces old anonymous class that would show up as chisel3.internal.ErrorLog$$anon$1 in error messages. * Add new option --throw-on-first-error This tells Chisel not to aggregate recoverable errors but instead to throw an exception on the first one. This gives a stack trace for users who need it for debugging. (cherry picked from commit ff2e9c92247b3848659fa09fdd53ddde2120036a) * Waive MiMa false positives The waived change is to a package private constructor. Co-authored-by: Jack Koenig <koenig@sifive.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'macros/src')
0 files changed, 0 insertions, 0 deletions