[LLVMdev] ARM assembler's syntax in clang
Ashi
ashi08104 at gmail.com
Wed Feb 20 04:23:37 PST 2013
Thanks, Tyler. It works!
On Wed, Feb 20, 2013 at 4:04 PM, Tyler Hardin
<tghardin1 at catamount.wcu.edu>wrote:
> So it turns out that I was wrong. It, in fact, is not standard. But
> regardless, you can use asm to specify the exact name. Eg.
>
> extern int func() asm("func");
>
> You can read more here:
> http://stackoverflow.com/questions/1034852/adding-leading-underscores-to-assembly-symbols-with-gcc-on-win32
> Despite the title of the thread, the solution is compiler and system
> independent.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130220/6fd60fed/attachment.html>
More information about the llvm-dev
mailing list