<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 - llvm-lib.exe breaks with /LTCG argument"
   href="https://bugs.llvm.org/show_bug.cgi?id=41148">41148</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-lib.exe breaks with /LTCG argument
          </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>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </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>steven@uplinklabs.net
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After adding llvm-lib.exe to the toolset definition (<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Visual Studio LLVM toolset uses "lib.exe" instead of "llvm-lib.exe""
   href="show_bug.cgi?id=41147">bug 41147</a>), I found that
llvm-lib.exe doesn't eat and ignore the /LTCG argument:

1>/LTCG: no such file or directory
1>C:\Program Files (x86)\Microsoft Visual
Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(1144,5):
error MSB6006: "C:\LLVM\current\bin\llvm-lib.exe" exited with code 1.

This presumably affects LLVM 7.0+, but I only tested the recent snapshot build
of trunk.</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>