[LLVMdev] ARM assembler's syntax in clang

Joerg Sonnenberger joerg at britannica.bec.de
Tue Feb 19 04:20:11 PST 2013


On Tue, Feb 19, 2013 at 06:53:19PM +0800, Ashi wrote:
> My develop environment is:
> Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
> 
> Undefined symbols for architecture armv7:
>   "_add_gas", referenced from:
>       _main in main_ios_clang.o

Apple requires a leading _ for all external symbols. So "works as
expected".

Joerg



More information about the llvm-dev mailing list