On Sat, Jul 30, 2016 at 1:47 PM, Joerg Sonnenberger via cfe-commits < cfe-commits@lists.llvm.org> wrote:
> On Tue, Jul 26, 2016 at 10:30:22PM +0000, Laxman Sole via cfe-commits > wrote: > > Currently basic_string's destructor is not getting inlined. So adding > 'inline' attribute to ~basic_string(). > > Does this change the ABI? > No. Clang still externally instantiates the dtor in the dylib because the '_LIBCPP_INLINE_VISIBILITY` attribute is not applied to the declaration. However adding the attribute to the out-of-line definition allows Clang to generate inline dtor calls. > > Joerg > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits