<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 - MCWinCOFFStreamer::EmitAssemblerFlag not implemented"
href="https://bugs.llvm.org/show_bug.cgi?id=34752">34752</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>MCWinCOFFStreamer::EmitAssemblerFlag not implemented
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>MC
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>aartz@blizzard.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=19207" name="attach_19207" title="wow64 far call test">attachment 19207</a> <a href="attachment.cgi?id=19207&action=edit" title="wow64 far call test">[details]</a></span>
wow64 far call test
MCWinCOFFStreamer::EmitAssemblerFlag causes clang/llvm to segfault on windows
when you attempt to use any assembler flag (code64/code32/etc)
I assumed this was due to some greater incompatibility, but i copied the
functionality from the MACHO/ELF streamer and it is able to successfully
compile 64-bit code in a 32-bit binary.
I am wondering if this was merely overlooked or if it's simply unsupported due
to some compatibility issue on another layer.
I tagged the version at 3.9 because I'm using 3.9.0 final, but looking at 5.0
it seems the issue (if there is one at all) persists.
Attached is a test case that compiles and functions properly when
EmitAssemblerFlag is "enabled"</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>