[llvm] r290694 - [COFF] Use 32-bit jump table entries in .rdata for Win64

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 1 12:07:49 PST 2017


On Sun, Jan 01, 2017 at 09:42:29AM -0800, David Majnemer wrote:
> On Sun, Jan 1, 2017 at 7:16 AM, Joerg Sonnenberger via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
> 
> > On Thu, Dec 29, 2016 at 12:12:40AM -0000, Reid Kleckner via llvm-commits
> > wrote:
> > > Author: rnk
> > > Date: Wed Dec 28 18:12:39 2016
> > > New Revision: 290694
> > >
> > > URL: http://llvm.org/viewvc/llvm-project?rev=290694&view=rev
> > > Log:
> > > [COFF] Use 32-bit jump table entries in .rdata for Win64
> >
> > Does Windows support the large code model?
> 
> PE-COFF has a 2GB size limit on all platforms.

That doesn't exactly answer the question. Consider the MCJIT use -- is
it possible for sections of the same compilation to end up being more
than 2GB away from each other? If yes, the label difference code doesn't
work, but the function-relative encoding would.

Joerg


More information about the llvm-commits mailing list