[cfe-dev] Inlining dllimport functions

Reid Kleckner via cfe-dev cfe-dev at lists.llvm.org
Fri Sep 14 11:34:46 PDT 2018


On Fri, Sep 14, 2018, 6:51 AM Hamza Sood <hamza_sood at me.com> wrote:

> Would it break ABI compatibility if we let Clang inline things like this?
> What about putting it behind a Clang-specific optimisation flag?
>

I'm not sure I understand this ABI compatibility concern.

I was suggesting that libc++ should export all of the class methods it
needs, so that we can always emit these dllimport methods as
available_externally definitions. This would be much simpler than adding
new flags.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180914/76ee991d/attachment.html>


More information about the cfe-dev mailing list