This is an archive of the discontinued LLVM Phabricator instance.

bugpoint: add flag -verbose-errors
ClosedPublic

Authored by sebpop on Jul 15 2016, 8:35 AM.

Details

Summary

The default behavior of bugpoint is to print "<crash>" when it finds a reduced test that crashes compilation.
With this flag we now can see the output of the crashing program.
This is useful to make sure it is the same error being tracked down and not a different error that happens to crash the compiler as well.

Diff Detail

Repository
rL LLVM

Event Timeline

sebpop updated this revision to Diff 64144.Jul 15 2016, 8:35 AM
sebpop retitled this revision from to bugpoint: add flag -verbose-errors.
sebpop updated this object.
sebpop added reviewers: reames, majnemer, rnk.
sebpop added a subscriber: llvm-commits.
silvas accepted this revision.Jul 15 2016, 2:09 PM
silvas added a reviewer: silvas.
silvas added a subscriber: silvas.

I've been using bugpoint quite a bit recently and this seems handy!

This LGTM with an update to http://llvm.org/docs/CommandGuide/bugpoint.html (docs/CommandGuide/bugpoint.rst)

This revision is now accepted and ready to land.Jul 15 2016, 2:09 PM
sebpop updated this revision to Diff 64196.Jul 15 2016, 2:32 PM
sebpop edited edge metadata.

Added documentation. If there are no other comments I will push the change later today.

This revision was automatically updated to reflect the committed changes.