[LLVMdev] ARM assembler's syntax in clang

Ashi ashi08104 at gmail.com
Tue Feb 19 21:54:15 PST 2013


But it's unreasonable that if I declare a function 'foo()', then I have to
implement '_foo()' in assembly, doesn't it?

Best regards,
ashi


On Wed, Feb 20, 2013 at 10:01 AM, Tyler Hardin
<tghardin1 at catamount.wcu.edu>wrote:

> > Do you have any advice to make the code work both under Apple and GNU
> gcc?
>
> The leading underscore for external symbols is standard, if that's what
> you're referring to.
> http://en.m.wikipedia.org/wiki/Underscore#Origins_in_identifiers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130220/dcd04760/attachment.html>


More information about the llvm-dev mailing list