<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 - TableGen+ninja restat optimization doesn't seem to fire for me"
   href="https://bugs.llvm.org/show_bug.cgi?id=43271">43271</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TableGen+ninja restat optimization doesn't seem to fire for me
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Build scripts
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Windows NT
          </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>cmake
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nicolasweber@gmx.de
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rnk@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I noticed that after modifying llvm/lib/Support/VirtualFileSystem.cpp, all
compilation actions are re-run, despite the fact that the tablegen output does
not change. The expected behavior is that tablegen re-runs, all headers are the
same, and then we just relink clang.

This was the final ninja line showing that all CXX actions were run, rather
than being discarded from the build graph by restat:
[1 processes, 2234/2234 @ 18.2/s : 122.601s ] Linking CXX executable
bin\clang.exe

IIRC Nico changed this in r349624.

I'll debug it more tomorrow, filing now before I forget.</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>