diff options
author | Alexander Kornienko <alexfh@google.com> | 2012-11-14 20:26:19 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2012-11-14 20:26:19 +0000 |
commit | 317adfc8b743d275124497bdf1c72b97d055e938 (patch) | |
tree | f7201452360d78a923c7cc4f2c58be03017b9095 /llvm/docs/TestingGuide.html | |
parent | e18e4add6c49ddba1547a99ee9231a3428565bb8 (diff) | |
download | bcm5719-llvm-317adfc8b743d275124497bdf1c72b97d055e938.tar.gz bcm5719-llvm-317adfc8b743d275124497bdf1c72b97d055e938.zip |
Added %(line), %(line+<number>), %(line-<number>) substitutions to lit
llvm-svn: 167971
Diffstat (limited to 'llvm/docs/TestingGuide.html')
-rw-r--r-- | llvm/docs/TestingGuide.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/TestingGuide.html b/llvm/docs/TestingGuide.html index d90c8ad1c32..1be75511227 100644 --- a/llvm/docs/TestingGuide.html +++ b/llvm/docs/TestingGuide.html @@ -723,6 +723,11 @@ define two separate CHECK lines that match on the same line. <dd>The full path to the test case's source. This is suitable for passing on the command line as the input to an llvm tool.</dd> + <dt><b>%(line), %(line+<i>number</i>), %(line-<i>number</i>)</b></dt> + <dd>The number of the line where this variable is used, with an optional + integer offset. This can be used in tests with multiple RUN: lines, which + reference test file's line numbers.</dd> + <dt><b>$srcdir</b></dt> <dd>The source directory from where the "<tt>make check</tt>" was run.</dd> |