[PATCH] D84038: Passing the flag bigobj globally when building debug compiler on Windows

Aaron Ballman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 21 14:02:49 PDT 2020


aaron.ballman added a comment.

In D84038#2165110 <https://reviews.llvm.org/D84038#2165110>, @beanz wrote:

> Sadly I think @rnk isn't around. This is something I'd really like him to weigh in on. I assume there was a reason for doing this per-object file rather than for everything, and I don't have the context.


I can provide some historical context about why we did this per-object initially -- it's because I argued for it to be that way. :-D My argument was that needing this flag was a bad code smell for what usually was a template instantiation issue that could be solved in code and if we enabled this flag for all files, we may hide some rampant template instantiation issues. I've since become convinced that the cure to those instantiation issues is sometimes worse than the symptom and we will deal with the truly problematic compilation units when we audit build performance issues or notice a compilation unit size regression.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84038/new/

https://reviews.llvm.org/D84038





More information about the llvm-commits mailing list