From fb5fa9687f10f6ae860c2e7ee9d2f6e4fbfd0d27 Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Tue, 17 Sep 2019 21:09:41 +0000 Subject: [PATCH] Reland "[docs][Bugpoint]Add notes about multiple crashes" Fix the warning. Bugpoint.rst:124:Mismatch: both interpreted text role prefix and reference suffix. Note that the line no here is wrong and misleading, the problem is in line 128, not 124. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372181 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/Bugpoint.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Bugpoint.rst b/docs/Bugpoint.rst index f3bb54cffb5..19efaf2bdee 100644 --- a/docs/Bugpoint.rst +++ b/docs/Bugpoint.rst @@ -121,6 +121,12 @@ non-obvious ways. Here are some hints and tips: 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:`CommandGuide/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.