[cfe-dev] [LLVMdev] is configure+make dead yet?

Gordon Keiser gkeiser at arxan.com
Wed Jun 27 13:21:30 PDT 2012


> -----Original Message-----
> From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu]
> On Behalf Of Mason Wheeler
> Sent: Wednesday, June 27, 2012 2:58 PM
> To: Óscar Fuentes; llvmdev at cs.uiuc.edu
> Cc: cfe-dev at cs.uiuc.edu
> Subject: Re: [cfe-dev] [LLVMdev] is configure+make dead yet?
> 
> >From: Óscar Fuentes <ofv at wanadoo.es>
> >Subject: Re: [LLVMdev] [cfe-dev] is configure+make dead yet?
> >
> >As for Visual Studio, autoconf is pretty useless, so no dll's there in
> >any case until someone sprinkles the LLVM C++ sources with the
> >necessary declarations.
> 
> Thinking about this a little more, is that even necessary?  Exporting the C++
> API in a DLL is useless due to name mangling and probably memory
> management issues as well.  The only thing that should really need to be
> marked as exported is the C API, right?
>

Windows DLLs support exporting entire C++ classes, and handle translation through a "sidecar" .lib file which is linked to by files wishing to consume the functions in the .DLL.  

-Gordon
 
> 
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list