[llvm-dev] [cfe-dev] [libunwind] __ELF__ macro for arm-none-eabi
Zhao, Weiming via llvm-dev
llvm-dev at lists.llvm.org
Mon Apr 18 09:07:21 PDT 2016
Is checking if OS is unknown and ABI is EABI sufficient?
I did that in http://reviews.llvm.org/D19225
Please help to review.
On 4/18/2016 9:02 AM, Silviu Baranga wrote:
>> -----Original Message-----
>> From: Renato Golin [mailto:renato.golin at linaro.org]
>> Sent: 18 April 2016 16:53
>> To: Silviu Baranga
>> Cc: Zhao, Weiming; cfe-dev at lists.llvm.org Developers; LLVM Dev; Bradley
>> Smith; Saleem Abdulrasool; David Chisnall
>> Subject: Re: [cfe-dev] [libunwind] __ELF__ macro for arm-none-eabi
>> 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
> Ok, that makes sense.
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
More information about the llvm-dev