[llvm-commits] Include extern "C" ints to help registration	global ctors
    Chris Lattner 
    clattner at apple.com
       
    Sat Nov 15 19:35:03 PST 2008
    
    
  
On Nov 12, 2008, at 10:06 AM, Scott Graham wrote:
> Hi
>
> This patch adds extern "C" ints to the .cpp files that use
> RegisterTarget, as well as 2 files that use "Registrator"s. These are
> to be used by the MSVC builds (separate patch by Óscar), as the Win32
> linker does not include libs that are otherwise unreferenced, even if
> global constructors in the lib have side-effects.
>
> It seems this list wants patches inline, not attached? Apologies if
> it's supposed to be the other way.
Hi Scott,
I think this patch already went in, but we generally prefer patches as  
attachments from people without commit access (this makes it easier to  
apply).  People with commit access can send them any way because  
humans can read the patch in almost any form :)
-Chris
    
    
More information about the llvm-commits
mailing list