<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - Test driver/opt-record.c fails on targets that default to -no-integrated-as"
href="https://llvm.org/bugs/show_bug.cgi?id=31532">31532</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Test driver/opt-record.c fails on targets that default to -no-integrated-as
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.9
</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>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ftee@flametop.co.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>The test driver/opt-record.c attempts to check that the
-fsave-optimization-record switch creates the correct output file when used
with -c and -o FOO.
However, if the target is a compiler which defaults to -no-integrated-as, the
-fsave-optimization-record creates a file based on the temporary output .s file
not the -o filename.
For example, on windows
clang -c -no-integrated-as -v -fsave-optimization-record -o FOO opt-record.c
generates
-opt-record-file "d:\\temp\\opt-record-7ecc39.opt.yaml"
I am unsure if this should be treated as an error in the test or that the
-fsave-optimization-record handling in the driver should ensure it uses the -o
filename and not the intermediate .s file.</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>