1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test
Joel E. Denny b4b16598f6 [FileCheck] Given multiple -dump-input, prefer most verbose
Problem: `FILECHECK_OPTS` was implemented so that a test runner, such
as a bot, can specify FileCheck debugging options, such as
`-dump-input=fail`.  However, some existing test suites have FileCheck
calls that already specify `-dump-input=fail` or `-dump-input=always`.
Without this patch, such tests fail under such a test runner because
FileCheck doesn't accept multiple occurrences of `-dump-input`.

Solution: This patch permits multiple occurrences of `-dump-input` by
assigning precedence to its values in the following descending order:
`help`, `always`, `fail`, and `never`.  That is, any occurrence of
`help` always obtains help, and otherwise the behavior is similar to
`-v` vs. `-vv` in that the option specifying the greatest verbosity
has precedence.

Rationale: My justification for the new behavior is as follows.  I
have not experienced use cases where, either as a test runner or as a
test author, I want to **limit** the permitted debugging verbosity
(except as a test author in FileCheck's or lit's test suites where the
FileCheck debugging output itself is under test, but the solution
there is `env FILECHECK_OPTS=`, and I imagine we should use the same
solution anywhere else this need might occur).  Of course, as either a
test runner or test author, it is useful to **increase** debugging
verbosity.

Reviewed By: probinson

Differential Revision: https://reviews.llvm.org/D70784
2019-12-03 14:21:13 -05:00
..
Analysis [DDG] Data Dependence Graph - Topological Sort (Memory Leak Fix) 2019-12-03 10:08:25 -05:00
Assembler [DebugInfo] Remove the DIFlagArgumentNotModified debug info flag 2019-11-20 13:18:40 +01:00
Bindings Updated the OCaml/bitwriter.ml test for OCaml 4.06+ 2019-11-30 13:35:23 +01:00
Bitcode Add support for multi-module bitcode files to llvm-dis 2019-11-14 10:40:41 -08:00
BugPoint bugpoint: Add option to disable attribute removal 2019-11-19 11:11:00 +05:30
CodeGen [GlobalISel]: Allow targets to override how to widen constants during legalization 2019-12-03 10:41:10 -08:00
DebugInfo Revert "[LiveDebugValues] Introduce entry values of unmodified params" 2019-12-03 13:13:27 +01:00
Demangle
Examples Revert "[Examples] Add IRTransformations directory to examples." 2019-12-01 22:20:20 +00:00
ExecutionEngine [ORC][JITLink] Add support for weak references, and improve handling of static 2019-11-28 13:30:49 -08:00
Feature Revert "[ARM] Allocatable Global Register Variables for ARM" 2019-11-29 17:01:05 +00:00
FileCheck [FileCheck] Given multiple -dump-input, prefer most verbose 2019-12-03 14:21:13 -05:00
Instrumentation [asan] Remove debug locations from alloca prologue instrumentation 2019-12-03 11:24:17 +01:00
Integer
JitListener
Linker [IRMover] Set Address Space for moved global values 2019-11-05 16:32:48 -08:00
LTO
MachineVerifier [MachineVerifier] Improve checks of target instructions operands. 2019-12-03 10:20:52 +01:00
MC [AArch64][v8.3a] Don't emit LDRA '[xN]!' alias in disassembly. 2019-11-28 15:31:59 +00:00
Object [Object/ELF] - Refine the error reported when section's offset + size overruns the file buffer. 2019-12-03 17:55:55 +03:00
ObjectYAML
Other [PassInstrumentation] Remove excess newline for the new pass manager 2019-11-28 17:20:17 -08:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen Tablegen: Remove the error for duplicate include files. 2019-11-20 18:24:10 -08:00
ThinLTO/X86 [Remarks][ThinLTO] Use the correct file extension based on the format 2019-12-02 13:04:43 -08:00
tools [Object/ELF] - Refine the error reported when section's offset + size overruns the file buffer. 2019-12-03 17:55:55 +03:00
Transforms [LV] Scalar with predication must not be uniform 2019-12-03 19:50:24 +02:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Introduce llvm-install-name-tool 2019-11-19 23:42:37 -08:00
lit.cfg.py Introduce llvm-install-name-tool 2019-11-19 23:42:37 -08:00
lit.site.cfg.py.in
TestRunner.sh