Re: [swift-dev] Metadata Representation

2017-09-28 Thread John McCall via swift-dev
> On Sep 28, 2017, at 5:23 PM, Saleem Abdulrasool wrote: > > > > On Thu, Sep 28, 2017 at 10:59 AM, John McCall > wrote: > >> On Sep 28, 2017, at 1:01 PM, Saleem Abdulrasool > > wrote: >> >> On Mon, Sep 25, 2017 at 10:18 PM, John McCal

Re: [swift-dev] Metadata Representation

2017-09-28 Thread Saleem Abdulrasool via swift-dev
On Thu, Sep 28, 2017 at 10:59 AM, John McCall wrote: > > On Sep 28, 2017, at 1:01 PM, Saleem Abdulrasool > wrote: > > On Mon, Sep 25, 2017 at 10:18 PM, John McCall wrote: > >> On Sep 26, 2017, at 12:35 AM, Saleem Abdulrasool >> wrote: >> On Mon, Sep 25, 2017 at 11:47 AM, John McCall wrote: >>

Re: [swift-dev] Metadata Representation

2017-09-28 Thread John McCall via swift-dev
> On Sep 28, 2017, at 1:01 PM, Saleem Abdulrasool wrote: > > On Mon, Sep 25, 2017 at 10:18 PM, John McCall > wrote: >> On Sep 26, 2017, at 12:35 AM, Saleem Abdulrasool > > wrote: >> On Mon, Sep 25, 2017 at 11:47 AM, John McCall >

Re: [swift-dev] Metadata Representation

2017-09-28 Thread Saleem Abdulrasool via swift-dev
On Mon, Sep 25, 2017 at 10:18 PM, John McCall wrote: > On Sep 26, 2017, at 12:35 AM, Saleem Abdulrasool > wrote: > On Mon, Sep 25, 2017 at 11:47 AM, John McCall wrote: > >> > On Sep 25, 2017, at 12:24 PM, Joe Groff wrote: >> >> On Sep 24, 2017, at 10:30 PM, John McCall wrote: >> >>> On Sep 22

Re: [swift-dev] Metadata Representation

2017-09-25 Thread John McCall via swift-dev
> On Sep 26, 2017, at 12:35 AM, Saleem Abdulrasool > wrote: > On Mon, Sep 25, 2017 at 11:47 AM, John McCall > wrote: > > On Sep 25, 2017, at 12:24 PM, Joe Groff > > wrote: > >> On Sep 24, 2017, at 10:30 PM, John McCall >>

Re: [swift-dev] Metadata Representation

2017-09-25 Thread Saleem Abdulrasool via swift-dev
On Mon, Sep 25, 2017 at 11:47 AM, John McCall wrote: > > On Sep 25, 2017, at 12:24 PM, Joe Groff wrote: > >> On Sep 24, 2017, at 10:30 PM, John McCall wrote: > >>> On Sep 22, 2017, at 8:39 PM, Saleem Abdulrasool > wrote: > >>> > >>> On Thu, Sep 21, 2017 at 10:28 PM, John McCall > wrote: > >>>

Re: [swift-dev] Metadata Representation

2017-09-25 Thread Greg Parker via swift-dev
> On Sep 22, 2017, at 5:39 PM, Saleem Abdulrasool via swift-dev > wrote: > > Now, as it so happens, both PE and PE+ have limitations on the file size at > 4GiB. This means that we are guaranteed that the relative difference is > guaranteed to fit within 32-bits. This is where things get real

Re: [swift-dev] Metadata Representation

2017-09-25 Thread John McCall via swift-dev
> On Sep 25, 2017, at 12:24 PM, Joe Groff wrote: >> On Sep 24, 2017, at 10:30 PM, John McCall wrote: >>> On Sep 22, 2017, at 8:39 PM, Saleem Abdulrasool >>> wrote: >>> >>> On Thu, Sep 21, 2017 at 10:28 PM, John McCall wrote: >>> On Sep 21, 2017, at 10:10 PM, Saleem Abdulrasool wr

Re: [swift-dev] Metadata Representation

2017-09-25 Thread Joe Groff via swift-dev
> On Sep 25, 2017, at 10:28 AM, Jordan Rose wrote: > > > >> On Sep 25, 2017, at 09:24, Joe Groff via swift-dev > > wrote: >> >> >> >>> On Sep 24, 2017, at 10:30 PM, John McCall >> > wrote: >>> >>> On Sep 22, 2017, at 8:39 PM, Sa

Re: [swift-dev] Metadata Representation

2017-09-25 Thread John McCall via swift-dev
> On Sep 25, 2017, at 1:28 PM, Jordan Rose wrote: >> On Sep 25, 2017, at 09:24, Joe Groff via swift-dev > > wrote: >>> On Sep 24, 2017, at 10:30 PM, John McCall >> > wrote: >>> >>> On Sep 22, 2017, at 8:39 PM, Saleem Abdulrasool >>>

Re: [swift-dev] Metadata Representation

2017-09-25 Thread Jordan Rose via swift-dev
> On Sep 25, 2017, at 09:24, Joe Groff via swift-dev > wrote: > > > >> On Sep 24, 2017, at 10:30 PM, John McCall wrote: >> >> >>> On Sep 22, 2017, at 8:39 PM, Saleem Abdulrasool >>> wrote: >>> >>> On Thu, Sep 21, 2017 at 10:28 PM, John McCall wrote: >>> On Sep 21, 2017, at 10:10

Re: [swift-dev] Metadata Representation

2017-09-25 Thread Joe Groff via swift-dev
> On Sep 24, 2017, at 10:30 PM, John McCall wrote: > > >> On Sep 22, 2017, at 8:39 PM, Saleem Abdulrasool >> wrote: >> >> On Thu, Sep 21, 2017 at 10:28 PM, John McCall wrote: >> >>> On Sep 21, 2017, at 10:10 PM, Saleem Abdulrasool >>> wrote: >>> >>> On Thu, Sep 21, 2017 at 5:18 PM, Joh

Re: [swift-dev] Metadata Representation

2017-09-24 Thread John McCall via swift-dev
> On Sep 25, 2017, at 1:30 AM, John McCall via swift-dev > wrote: > > >> On Sep 22, 2017, at 8:39 PM, Saleem Abdulrasool > > wrote: >> >> On Thu, Sep 21, 2017 at 10:28 PM, John McCall > > wrote: >> >>> On Sep 21, 2017, at 10:10 PM, Sal

Re: [swift-dev] Metadata Representation

2017-09-24 Thread John McCall via swift-dev
> On Sep 22, 2017, at 8:39 PM, Saleem Abdulrasool wrote: > > On Thu, Sep 21, 2017 at 10:28 PM, John McCall > wrote: > >> On Sep 21, 2017, at 10:10 PM, Saleem Abdulrasool > > wrote: >> >> On Thu, Sep 21, 2017 at 5:18 PM, John McCall >

Re: [swift-dev] Metadata Representation

2017-09-22 Thread Saleem Abdulrasool via swift-dev
On Thu, Sep 21, 2017 at 10:28 PM, John McCall wrote: > > On Sep 21, 2017, at 10:10 PM, Saleem Abdulrasool > wrote: > > On Thu, Sep 21, 2017 at 5:18 PM, John McCall wrote: > >> On Sep 21, 2017, at 1:26 PM, Saleem Abdulrasool via swift-dev < >> swift-dev@swift.org> wrote: >> On Thu, Sep 21, 2017

Re: [swift-dev] Metadata Representation

2017-09-21 Thread John McCall via swift-dev
> On Sep 21, 2017, at 10:10 PM, Saleem Abdulrasool > wrote: > > On Thu, Sep 21, 2017 at 5:18 PM, John McCall > wrote: >> On Sep 21, 2017, at 1:26 PM, Saleem Abdulrasool via swift-dev >> mailto:swift-dev@swift.org>> wrote: >> On Thu, Sep 21, 2017 at 12:04 PM, Joe Gro

Re: [swift-dev] Metadata Representation

2017-09-21 Thread Saleem Abdulrasool via swift-dev
On Thu, Sep 21, 2017 at 5:18 PM, John McCall wrote: > On Sep 21, 2017, at 1:26 PM, Saleem Abdulrasool via swift-dev < > swift-dev@swift.org> wrote: > On Thu, Sep 21, 2017 at 12:04 PM, Joe Groff wrote: > >> >> >> On Sep 21, 2017, at 11:49 AM, Saleem Abdulrasool >> wrote: >> >> On Thu, Sep 21, 20

Re: [swift-dev] Metadata Representation

2017-09-21 Thread John McCall via swift-dev
> On Sep 21, 2017, at 1:26 PM, Saleem Abdulrasool via swift-dev > wrote: > On Thu, Sep 21, 2017 at 12:04 PM, Joe Groff > wrote: > > >> On Sep 21, 2017, at 11:49 AM, Saleem Abdulrasool > > wrote: >> >> On Thu, Sep 21, 2017 at 10:53 AM, Joe

Re: [swift-dev] Metadata Representation

2017-09-21 Thread Joe Groff via swift-dev
> On Sep 21, 2017, at 1:26 PM, Saleem Abdulrasool wrote: > > On Thu, Sep 21, 2017 at 12:04 PM, Joe Groff > wrote: > > >> On Sep 21, 2017, at 11:49 AM, Saleem Abdulrasool > > wrote: >> >> On Thu, Sep 21, 2017 at 10:53 AM, Joe Groff >

Re: [swift-dev] Metadata Representation

2017-09-21 Thread Saleem Abdulrasool via swift-dev
On Thu, Sep 21, 2017 at 12:04 PM, Joe Groff wrote: > > > On Sep 21, 2017, at 11:49 AM, Saleem Abdulrasool > wrote: > > On Thu, Sep 21, 2017 at 10:53 AM, Joe Groff wrote: > >> >> >> On Sep 21, 2017, at 9:32 AM, Saleem Abdulrasool via swift-dev < >> swift-dev@swift.org> wrote: >> >> Hello, >> >>

Re: [swift-dev] Metadata Representation

2017-09-21 Thread Joe Groff via swift-dev
> On Sep 21, 2017, at 11:49 AM, Saleem Abdulrasool > wrote: > > On Thu, Sep 21, 2017 at 10:53 AM, Joe Groff > wrote: > > >> On Sep 21, 2017, at 9:32 AM, Saleem Abdulrasool via swift-dev >> mailto:swift-dev@swift.org>> wrote: >> >> Hello, >> >> The current layout

Re: [swift-dev] Metadata Representation

2017-09-21 Thread Saleem Abdulrasool via swift-dev
On Thu, Sep 21, 2017 at 10:53 AM, Joe Groff wrote: > > > On Sep 21, 2017, at 9:32 AM, Saleem Abdulrasool via swift-dev < > swift-dev@swift.org> wrote: > > Hello, > > The current layout for the swift metadata for structure types, as emitted, > seems to be unrepresentable in PE/COFF (at least for x

Re: [swift-dev] Metadata Representation

2017-09-21 Thread Joe Groff via swift-dev
> On Sep 21, 2017, at 9:32 AM, Saleem Abdulrasool via swift-dev > wrote: > > Hello, > > The current layout for the swift metadata for structure types, as emitted, > seems to be unrepresentable in PE/COFF (at least for x86_64). There is a > partial listing of the generated code following th

[swift-dev] Metadata Representation

2017-09-21 Thread Saleem Abdulrasool via swift-dev
Hello, The current layout for the swift metadata for structure types, as emitted, seems to be unrepresentable in PE/COFF (at least for x86_64). There is a partial listing of the generated code following the message for reference. When building the standard library, LLVM encounters a relocation w