[PATCH] Remove some template instantiations to reduce the number of symbols.

Samuel Benzaquen sbenza at google.com
Thu Aug 28 10:17:28 PDT 2014


>>! In D5072#7, @rnk wrote:
> MinGW doesn't support anything like /bigobj, so I think we need this or something like it.
> http://stackoverflow.com/questions/16596876/object-file-has-too-many-sections
> 
> I wonder if putting LLVM_ATTRIBUTE_ALWAYS_INLINE on all IntrusiveRefCntPtr methods would also help reduce the section count.

That would only work if the macro was defined for and used by MinGW.

http://reviews.llvm.org/D5072






More information about the cfe-commits mailing list