<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:yunlian@google.com" title="yunlian <yunlian@google.com>"> <span class="fn">yunlian</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - can't use clang -g to assemble .s file with .file directive"
href="https://llvm.org/bugs/show_bug.cgi?id=11740">bug 11740</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>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>yunlian@google.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - can't use clang -g to assemble .s file with .file directive"
href="https://llvm.org/bugs/show_bug.cgi?id=11740#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - can't use clang -g to assemble .s file with .file directive"
href="https://llvm.org/bugs/show_bug.cgi?id=11740">bug 11740</a>
from <span class="vcard"><a class="email" href="mailto:yunlian@google.com" title="yunlian <yunlian@google.com>"> <span class="fn">yunlian</span></a>
</span></b>
<pre>cat a.c
void foo() {}
clang -g a.c -S -o a.s
clang -g -c -o a.o a.s
a.s:8:2: error: input can't have .file dwarf directives when -g is used to
generate dwarf debug info for assembly code
.file 1 "a.c"
^
a.s:8:8: error: file number already allocated
.file 1 "a.c"
^</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>