[PATCH] D15784: Enable 2 warnings on MSVC, turn on StringPooling & intrinsic functions

Aaron Ballman via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 2 12:48:44 PST 2016


aaron.ballman added a comment.

In http://reviews.llvm.org/D15784#318470, @AndyAyers wrote:

> Out of curiosity, why do bigobj files cause trouble and need to be avoided?


I suppose that it is less of a real concern these days (it used to be a compatibility issue with older versions of MSVC that we no longer care about) and more of a code smell concern. Having to enable a special linker flag because of the number of addressable sections you are creating can identify a design problem when you run over that limit. We've had this come up with template instantiations that went wild, and getting warned about the section limits helped us notice that issue in the first place and come up with a better design.


http://reviews.llvm.org/D15784





More information about the llvm-commits mailing list