From fa8a0e5256bd7b13ab7859616c6983718877f3a2 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 24 Feb 2007 03:46:42 +0000 Subject: [PATCH] Added some more information on how to use "delta" to reduce testcases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34553 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/HowToSubmitABug.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/HowToSubmitABug.html b/docs/HowToSubmitABug.html index f01c5c72a10..4aabf35058a 100644 --- a/docs/HowToSubmitABug.html +++ b/docs/HowToSubmitABug.html @@ -81,7 +81,7 @@ information:

-

More often than not, bugs in the compiler cause it to crash - often due to an +

More often than not, bugs in the compiler cause it to crash—often due to an assertion failure of some sort. If you are running opt directly, and something crashes, jump to the section on bugs in LLVM passes. Otherwise, the most important @@ -126,12 +126,16 @@ bunch of stuff, and should end with telling you that one of llvm-gcc command that resulted in the crash, but add the -save-temps option. The compiler will crash again, but it will leave behind a foo.i file (containing preprocessed C source code) and -possibly foo.s (containing LLVM assembly code), for each +possibly foo.s (containing LLVM assembly code) for each compiled foo.c file. Send us the foo.i file, -along with a brief description of the error it caused. A tool that might help -you reduce a front-end testcase to a more manageable size is -delta. -

+along with a brief description of the error it caused.

+ +

The delta tool helps to reduce the +preprocessed file down to the smallest amount of code that still replicates the +problem. You're encouraged to use delta to reduce the code to make the +developers' lives easier. This website +has instructions on the best way to use delta.

-- 2.34.1