<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 - The -fdiagnostic-format option is not being passed from the driver to the assembler job"
href="https://bugs.llvm.org/show_bug.cgi?id=36117">36117</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>The -fdiagnostic-format option is not being passed from the driver to the assembler job
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>Driver
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>konstantin.belochapka@sony.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Reproducible test.s:
.section .text
.global TestFunc_ASM
TestFunc_ASM:
nop
nop
deliberate_error
ret
1) -fdiagnostic-format option is not being passed from the driver to the
assembler
$ clang -fdiagnostics-format=msvc test.s
clang: warning: argument unused during compilation: '-fdiagnostics-format=msvc'
test.s:7:5: error: invalid instruction mnemonic 'deliberate_error'
deliberate_error
^~~~~~~~~~~~~~~~
2) The assembler does not support this option.
$clang -cc1as -fdiagnostics-format=msvc -fno-show-column source1.s
clang -cc1as: error: unknown argument: '-fdiagnostics-format=msvc'
clang -cc1as: error: unknown argument: '-fno-show-column'</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>