<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FileCheck with multiple check prefixes prints the wrong prefix for failing -dag checks"
   href="https://bugs.llvm.org/show_bug.cgi?id=48089">48089</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FileCheck with multiple check prefixes prints the wrong prefix for failing -dag checks
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hans@chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>For example:

$ cat /tmp/x
BAR-DAG: world
FOO-DAG: Hello

$ echo Hello world | bin/FileCheck --check-prefix=FOO --check-prefix=BAR /tmp/x
(all good)

$ echo Hello LLVM | bin/FileCheck --check-prefix=FOO --check-prefix=BAR /tmp/x
/tmp/x:1:10: error: FOO-DAG: expected string not found in input
BAR-DAG: world
         ^
<stdin>:1:1: note: scanning from here
Hello LLVM
^

Input file: <stdin>
Check file: /tmp/x

-dump-input=help explains the following input dump.

Input was:
<<<<<<
       1: Hello LLVM
dag:1     X~~~~~~~~~ error: no match found
<span class="quote">>>>>>></span >



Note that the error says "FOO-DAG: expected string not found in input" even
though it's really BAR-DAG that's failing.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>