<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 - pgo-instrumented tblgen fails to run on windows"
   href="https://bugs.llvm.org/show_bug.cgi?id=42371">42371</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>pgo-instrumented tblgen fails to run on windows
          </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, rnk@google.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>To repro: (I used the monorepo at bb6d0b8e7b0d815710a71b8012438a586e986450 /
r364169)

C:\src\llvm.monorepo\build.nana>set
CC=\src\llvm.monorepo\build.release\bin\clang-cl.exe
C:\src\llvm.monorepo\build.nana>set
CXX=\src\llvm.monorepo\build.release\bin\clang-cl.exe
C:\src\llvm.monorepo\build.nana>cmake -GNinja -DCMAKE_BUILD_TYPE=Release
-DLLVM_BUILD_INSTRUMENTED=IR -DLLVM_ENABLE_PROJECTS=clang ../llvm

C:\src\llvm.monorepo\build.nana>ninja include/llvm/IR/IntrinsicImpl.inc
[191/192] Linking CXX executable bin\llvm-tblgen.exe
LINK : warning LNK4044: unrecognized option
'/fprofile-generate='C:\src\llvm.monorepo\build.nana\profiles''; ignored
msvcrt.lib(initializers.obj) : warning LNK4098: defaultlib 'libcmt.lib'
conflicts with use of other libs; use /NODEFAULTLIB:library
[192/192] Building IntrinsicImpl.inc...
FAILED: include/llvm/IR/IntrinsicImpl.inc
cmd.exe /C "cd /D C:\src\llvm.monorepo\build.nana &&
C:\src\llvm.monorepo\build.nana\bin\llvm-tblgen.exe -gen-intrinsic-impl -I
C:/src/llvm.monorepo/llvm/include/llvm/IR -I C:/src/llvm.monorepo/llvm/include
C:/src/llvm.monorepo/llvm/include/llvm/IR/Intrinsics.td -o
include/llvm/IR/IntrinsicImpl.inc -d include/llvm/IR/IntrinsicImpl.inc.d"
ninja: build stopped: subcommand failed.</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>