<div dir="ltr">Hi Rafael,<div><br></div><div>There's a source file in Chromium that does something like this:</div><div><br></div><div><div><font face="monospace, monospace">target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"</font></div><div><font face="monospace, monospace">target triple = "x86_64-unknown-linux-gnu"</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">module asm ".text"</font></div><div><font face="monospace, monospace">module asm "foo: ret"</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">declare void @foo()</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">define void @_start() {</font></div><div><font face="monospace, monospace"> call void @foo()</font></div><div><font face="monospace, monospace"> ret void</font></div><div><font face="monospace, monospace">}</font></div></div><div><br></div><div>Currently the llvm-nm output for that looks like this:</div><div><br></div><div><div><font face="monospace, monospace">---------------- T _start</font></div><div><font face="monospace, monospace"> U foo</font></div><div><font face="monospace, monospace">---------------- t foo</font></div></div><div><br></div><div>That second entry is a bug, right? I just wanted to confirm before I go ahead and fix it, since the fix seems like it would be rather involved.</div><div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">-- <div>Peter</div></div></div>
</div></div>