[cfe-dev] llvm-gcc arm support
Renato Golin
renato.golin at arm.com
Fri Jun 10 08:07:08 PDT 2011
On 10 June 2011 11:09, Reddy G, Vinitha <vreddyg at qualcomm.com> wrote:
> I am new to llvm. I would like to know if options like
> dwarf,splitsections,apcs,endianness etc which are supported by rvct and ads
> compilers for arm are supported by llvm-gcc or clang..
Hi Vinitha,
Of course not all RVCT features are supported by LLVM, but general
support is good enough for most applications.
Specifically, dwarf support is good for most C applications, APCS and
AAPCS has good support, but we lack decent tests, so I won't be
surprised if you find regressions.
In theory, target data supports big-endian, but I have never tested,
TBH. Also, there's no way (that I know) to specify data/code
big-endian separately.
AFAIK, LLVM does not support split_sections, but it does support GNU's
"section" attribute.
> Am trying to compile a code for ARM architecture, armv6 in specific on an
> x86 machine.
There is ARMv6 support in LLVM, and cross-compilation is possible
(given a bit of work here and there) on both clang and llvm-gcc.
Give it a try and we can go over each separate problem you have, one by one.
cheers,
--renato
More information about the cfe-dev
mailing list