Adding Windows on ARM Support

Reid Kleckner rnk at google.com
Thu Feb 27 11:21:19 PST 2014


On Thu, Feb 27, 2014 at 11:05 AM, Saleem Abdulrasool <abdulras at fb.com>wrote:

>
> On Feb 27, 2014, at 10:59 AM, Reid Kleckner <rnk at google.com> wrote:
>
> > Cool!  Do you intend to aim for MSVC C++ ABI compatibility on ARM, or is
> that not a goal for you?  We assume the ARM C++ ABI looks similar to the
> x86 one, but we haven't gone out of our way to check.  There might be
> dragons.
>
> Right now Im planning on using IA-64 ABI (which is unfortunately
> incompatible with msvcrp).  Longer term, I think that getting C++ MS ABI on
> ARM would be incredible.


That seems reasonable.  There are still lots of bugs in the Microsoft C++
ABI support in Clang.

What triple were you planning to use?  We got rid of the -cxx-abi flag and
made -win32 imply the Microsoft C++ ABI.  I don't want to make arm*-*-win32
imply the Itanium C++ ABI, since eventually we'd like it to use the
Microsoft C++ ABI.

At least on x86, the mingw32 target is C ABI compatible with MSVC, so you
could use a triple like arm*-*-mingw32.  I don't know if the mingw project
even supports ARM yet, but if and when they do I expect them to be C ABI
compatible with MSVC and use the Itanium-derived ARM C++ ABI.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140227/ded4995d/attachment.html>


More information about the llvm-commits mailing list