
Documentation of when `lit` exits with code 1 is out of date. It is no longer just "FAIL or XPASS", there are more failure types:b30100b87f/llvm/utils/lit/lit/Test.py (L51-L55)
Exit code can also be affected by `--ignore-fail` option:b30100b87f/llvm/utils/lit/lit/main.py (L154-L162)
This PR extracts a clear definition of "failure" from the description of `--report-failures-only` option:b30100b87f/llvm/docs/CommandGuide/lit.rst (L194-L196)
...puts it into "Test Status Results" section and references it when describing exit codes and `--ignore-fail` option.