From: Bill Wendling
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.