llvm.org GIT mirror llvm / 806688c
[docs] Clarify the sense of --compile-command In retrospect, it seems "obvious" that the sense of the return code is the same as if it crashed on "interesting" inputs. But that didn't stop me from spending more time than I care to admit verifying this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264119 91177308-0d34-0410-b5e6-96231b3b80d8 Sean Silva 3 years ago
1 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
150150 **--compile-command** *command*
151151
152152 This option defines the command to use with the **--compile-custom**
153 option to compile the bitcode testcase. This can be useful for
153 option to compile the bitcode testcase. The command should exit with a
154 failure exit code if the file is "interesting" and should exit with a
155 success exit code (i.e. 0) otherwise (this is the same as if it crashed on
156 "interesting" inputs).
157
158 This can be useful for
154159 testing compiler output without running any link or execute stages. To
155160 generate a reduced unit test, you may add CHECK directives to the
156161 testcase and pass the name of an executable compile-command script in this form: