llvm-project/llvm/docs/CommandGuide
Joel E. Denny bcf5b441d8 [FileCheck] Don't permit overlapping CHECK-DAG
That is, make CHECK-DAG skip matches that overlap the matches of any
preceding consecutive CHECK-DAG directives.  This change makes
CHECK-DAG more consistent with other directives, and there is evidence
it makes CHECK-DAG more intuitive and less error-prone.  See the RFC
discussion starting at:

  http://lists.llvm.org/pipermail/llvm-dev/2018-May/123010.html

Moreover, this behavior enables CHECK-DAG groups for unordered,
non-unique strings or patterns.  For example, it is useful for
verifying output or logs from a parallel program, such as the OpenMP
runtime.

This patch also implements the command-line option
-allow-deprecated-dag-overlap, which reverts CHECK-DAG to the old
overlapping behavior.  This option should not be used in new tests.
It is meant only for the existing tests that are broken by this change
and that need time to update.

See the following bugzilla issue for tracking of such tests:

  https://bugs.llvm.org/show_bug.cgi?id=37532

Patches to add -allow-deprecated-dag-overlap to those tests will
follow immediately.

Reviewed By: probinson

Differential Revision: https://reviews.llvm.org/D47106

llvm-svn: 336847
2018-07-11 20:27:27 +00:00
..
FileCheck.rst [FileCheck] Don't permit overlapping CHECK-DAG 2018-07-11 20:27:27 +00:00
bugpoint.rst bugpoint: add flag -verbose-errors 2016-07-15 23:15:06 +00:00
dsymutil.rst [dsymutil] Upstream emitting of papertrail warnings. 2018-04-02 10:40:43 +00:00
index.rst Re-land r329156 "Add llvm-exegesis tool." 2018-04-04 11:37:06 +00:00
lit.rst [lit] Report line number for failed RUN command 2018-05-31 00:55:32 +00:00
llc.rst [MC] Fix -stack-size-section on ARM 2018-01-17 09:01:29 +00:00
lli.rst [docs] Update code block for compatibility with Sphinx 1.5.1 2017-11-06 11:47:24 +00:00
llvm-ar.rst
llvm-as.rst
llvm-bcanalyzer.rst
llvm-build.rst
llvm-config.rst
llvm-cov.rst [llvm-cov] Implement -ignore-filename-regex= option for excluding source files. 2018-04-09 15:20:35 +00:00
llvm-diff.rst
llvm-dis.rst
llvm-dwarfdump.rst Remove duplicate option from documentation. 2017-12-09 19:09:59 +00:00
llvm-exegesis-analysis.png [llvm-exegesis] Show sched class details in analysis. 2018-05-24 10:47:05 +00:00
llvm-exegesis.rst [docs] Fix indentation of llvm-exegesis command line arguments 2018-06-18 20:05:02 +00:00
llvm-extract.rst
llvm-lib.rst
llvm-link.rst
llvm-mca.rst Fix typo in declaring code-block snippet 2018-05-17 16:58:42 +00:00
llvm-nm.rst nm: Add -no-weak flag for hiding weak symbols 2018-07-02 17:24:37 +00:00
llvm-pdbutil.rst [docs] Update code block for compatibility with Sphinx 1.5.1 2017-11-06 11:47:24 +00:00
llvm-profdata.rst [ProfileData] Add new option to dump topn hottest functions 2017-07-11 20:30:43 +00:00
llvm-readobj.rst
llvm-stress.rst
llvm-symbolizer.rst
opt.rst Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
tblgen.rst [TableGen] Add a general-purpose JSON backend. 2018-07-11 08:40:19 +00:00