<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:nicolasweber@gmx.de" title="Nico Weber <nicolasweber@gmx.de>"> <span class="fn">Nico Weber</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [ms] clang-cl produces .obj files that link.exe mis-links in /incremental mode"
href="https://llvm.org/bugs/show_bug.cgi?id=24740">bug 24740</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [ms] clang-cl produces .obj files that link.exe mis-links in /incremental mode"
href="https://llvm.org/bugs/show_bug.cgi?id=24740#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [ms] clang-cl produces .obj files that link.exe mis-links in /incremental mode"
href="https://llvm.org/bugs/show_bug.cgi?id=24740">bug 24740</a>
from <span class="vcard"><a class="email" href="mailto:nicolasweber@gmx.de" title="Nico Weber <nicolasweber@gmx.de>"> <span class="fn">Nico Weber</span></a>
</span></b>
<pre>LLVM 256203 added an MC target option to toggle writing of timestamps. r256204
added a /Brepro flag to clang-cl mode to set this option for clang-cl, and it
also made it so it's not set in mingw builds:
+ // Only default to -mincremental-linker-compatible if we think we are
+ // targeting the MSVC linker.
+ bool DefaultIncrementalLinkerCompatible =
+ C.getDefaultToolChain().getTriple().isWindowsMSVCEnvironment();
There's still no flag to set an explicit timestamp from the driver as motivated
in <a href="show_bug.cgi?id=24740#c2">comment 2</a>, but the main issue here was fixed by David. (If the explicit
timestamp override turns out to be useful in the future, we can add it then.)</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>