[LLVMdev] [cfe-dev] [NEW PATCH] X32 ABI support for Clang/compiler-rt (Clang patch)

Eli Bendersky eliben at google.com
Thu Aug 22 09:56:12 PDT 2013


On Thu, Aug 22, 2013 at 7:56 AM, Steven Newbury <steve at snewbury.org.uk>wrote:

> On Thu, 2013-08-22 at 15:22 +0100, Steven Newbury wrote:
> > This patch is still not creating elf32_x86_64 objects.  No idea
> > why. :( It does however, fix elf_x86_64 (-m64) code generation on x32
> > hosts which is nice. :)
>
> I know why.  I had assumed Michael Liao (the original patch author) had
> submitted all the _LLVM_ x32 support as separate patches, and it was
> just the tests/Clang/compiler-rt support that was missing.  It seems not
> so.  Those specific patches he did submit got commited, but many pieces
> are missing... I should NEVER make such big assumptions!
>
> Looks like I'm going to have to go through the original patch and create
> a new patch series.
>
> If I'm going to submit the Clang patch, how should it be submitted?  One
> patch with what's required to get x32 host to work, then another
> enabling x32 code generation once the required changes to llvm are
> merged?  Would that be sufficient?
>

Please note that the bulk of work to make Clang x32-capable is in LLVM. The
patches sent by Michael a while back no longer apply because we upstreamed
some things since then, but the support is not complete yet (mainly in
SelDAG). Please be sure to go over the mailing list archives discussing
x32, as well as look at the SVN logs for everything mentioning x32. There's
quite a bit of history here and it's important to have a full grasp of
things.

Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130822/56be254e/attachment.html>


More information about the llvm-dev mailing list