<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - direct calls in msvc style inline assembler turn into indirect calls"
href="http://llvm.org/bugs/show_bug.cgi?id=20052">bug 20052</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 - direct calls in msvc style inline assembler turn into indirect calls"
href="http://llvm.org/bugs/show_bug.cgi?id=20052#c18">Comment # 18</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - direct calls in msvc style inline assembler turn into indirect calls"
href="http://llvm.org/bugs/show_bug.cgi?id=20052">bug 20052</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>This should be fixed by r214550.
Jeff, I decided your approach was more or less correct. When parsing direct
calls in a .s file, we form an absolute memory X86Operand, and match that
against the direct call. However, this is obviously ambiguous with indirect
calls through memory. gas solves this for AT&T style assembly by
disambiguating with a *:
calll foo -> call foo
calll *foo -> call dword ptr [foo]
In LLVM, this appears as a '*' in the token stream, and the asm matcher knows
to look for it. However, for Intel syntax, we don't have any means of
disambiguating yet. Time to file a new bug.</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>