[llvm] r372157 - [docs][Bugpoint]Add notes about multiple crashes
Jinsong Ji via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 11:10:10 PDT 2019
Author: jsji
Date: Tue Sep 17 11:10:09 2019
New Revision: 372157
URL: http://llvm.org/viewvc/llvm-project?rev=372157&view=rev
Log:
[docs][Bugpoint]Add notes about multiple crashes
Summary:
When reducing case for a CodeGenCrash, bugpoint may generate a new
reduced
testcase that exposes/causes another crash or break something due to
limitation.
Bugpoint does not distiguish different crashes currently,
so when this happens, bugpoint will go on reducing for the new crash,
or just abort, we can't get the case reduced for the origial crash.
An advice is added into usage doc to connect to recommend checking error
message with scripts and `-compile-command`.
Reviewers: modocache, bogner, sebpop, reames, vsk, MatzeB
Reviewed By: vsk
Subscribers: mehdi_amini, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66832
Modified:
llvm/trunk/docs/Bugpoint.rst
Modified: llvm/trunk/docs/Bugpoint.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Bugpoint.rst?rev=372157&r1=372156&r2=372157&view=diff
==============================================================================
--- llvm/trunk/docs/Bugpoint.rst (original)
+++ llvm/trunk/docs/Bugpoint.rst Tue Sep 17 11:10:09 2019
@@ -121,6 +121,12 @@ non-obvious ways. Here are some hints a
miscompilation. Programs should be temporarily modified to disable outputs
that are likely to vary from run to run.
+* In the `crash debugger`_, ``bugpoint`` does not distiguish different crashes
+ during reduction. Thus, if new crash or miscompilation happens, ``bugpoint``
+ will continue with the new crash instead. If you would like to stick to
+ particular crash, you should write check scripts to validate the error
+ message, see ``-compile-command`` in :doc:`/Bugpoint`_.
+
* In the code generator and miscompilation debuggers, debugging will go faster
if you manually modify the program or its inputs to reduce the runtime, but
still exhibit the problem.
More information about the llvm-commits
mailing list