[llvm-dev] [cfe-dev] [libunwind] __ELF__ macro for arm-none-eabi

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 18 08:53:06 PDT 2016


On 18 April 2016 at 16:33, Silviu Baranga <Silviu.Baranga at arm.com> wrote:
> Doing a grep "eabi" * -R | grep darwin in llvm I found the test divmod-eabi.ll
> which uses the triple armv7-apple-darwin-eabi. What format does that have?

Certainly not ELF. :)

But I didn't mean "has eabi on triple", but "is in none-eabi mode",
which may have to check a few more Triple properties.

For all the others (Linux, BSD), the __ELF__ is already being correctly emitted.

cheers,
--renato


More information about the llvm-dev mailing list