RE: r350643 - Limit COFF 'common' emission to <=32 alignment types.

2019-01-09 Thread Keane, Erich via cfe-commits
Thank you for that! From: Shoaib Meenai [mailto:smee...@fb.com] Sent: Tuesday, January 8, 2019 4:48 PM To: David Majnemer Cc: Keane, Erich ; cfe-commits@lists.llvm.org; Martin Storsjo Subject: Re: r350643 - Limit COFF 'common' emission to <=32 alignment types. I sent out ht

Re: r350643 - Limit COFF 'common' emission to <=32 alignment types.

2019-01-08 Thread Shoaib Meenai via cfe-commits
m<mailto:smee...@fb.com>] Sent: Tuesday, January 8, 2019 12:41 PM To: Keane, Erich mailto:erich.ke...@intel.com>>; cfe-commits@lists.llvm.org<mailto:cfe-commits@lists.llvm.org>; David Majnemer mailto:david.majne...@gmail.com>> Subject: Re: r350643 - Limit COFF 'common' emissio

Re: r350643 - Limit COFF 'common' emission to <=32 alignment types.

2019-01-08 Thread David Majnemer via cfe-commits
> *Date: *Tuesday, January 8, 2019 at 1:04 PM > *To: *Shoaib Meenai , "cfe-commits@lists.llvm.org" < > cfe-commits@lists.llvm.org>, David Majnemer > *Subject: *RE: r350643 - Limit COFF 'common' emission to <=32 alignment > types. > > > > Yep, exactly. I

RE: r350643 - Limit COFF 'common' emission to <=32 alignment types.

2019-01-08 Thread Keane, Erich via cfe-commits
Majnemer ; Martin Storsjo Subject: Re: r350643 - Limit COFF 'common' emission to <=32 alignment types. It checks for both OS=Win32 and Environment=MSVC, so that wouldn't cover other COFF environments. wbs (Martin Storsjo) mentioned on IRC that MinGW adds an aligncomm directive to specify alignm

Re: r350643 - Limit COFF 'common' emission to <=32 alignment types.

2019-01-08 Thread Shoaib Meenai via cfe-commits
January 8, 2019 at 1:04 PM To: Shoaib Meenai , "cfe-commits@lists.llvm.org" , David Majnemer Subject: RE: r350643 - Limit COFF 'common' emission to <=32 alignment types. Yep, exactly. I looked, and isKnownWindowsMSVCEnvironment checks for OS=Win32, which I believe would

RE: r350643 - Limit COFF 'common' emission to <=32 alignment types.

2019-01-08 Thread Keane, Erich via cfe-commits
: Re: r350643 - Limit COFF 'common' emission to <=32 alignment types. Ah, looks like you were originally checking for COFF, and then David suggested checking for MSVC instead? I'm curious about why, although I'm sure the suggestion is legit :) From: cfe-commits mailto:cfe-commits-b

Re: r350643 - Limit COFF 'common' emission to <=32 alignment types.

2019-01-08 Thread Shoaib Meenai via cfe-commits
at 12:39 PM To: Erich Keane , "cfe-commits@lists.llvm.org" Subject: Re: r350643 - Limit COFF 'common' emission to <=32 alignment types. Why does this check for isKnownWindowsMSVCEnvironment specifically? Wouldn't any COFF target (windows-cygnus, windows-gnu, windows-itanium, etc.) h

Re: r350643 - Limit COFF 'common' emission to <=32 alignment types.

2019-01-08 Thread Shoaib Meenai via cfe-commits
Why does this check for isKnownWindowsMSVCEnvironment specifically? Wouldn't any COFF target (windows-cygnus, windows-gnu, windows-itanium, etc.) have the same limitation, since it's an object file format issue and not an ABI issue? From: cfe-commits on behalf of Erich Keane via cfe-commits