<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 27, 2018 at 1:24 AM Andrea Bocci <<a href="mailto:andrea.bocci@cern.ch">andrea.bocci@cern.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">On Sat, 17 Nov 2018 at 18:00, David Blaikie via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br></div><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Would it be that drastic to have this require a code change/compiler rebuild to enable? It could be designed so the change is small/easy (changing a constant) but that the default compilers we all ship around (& especially not the official releases) don't allow access to this functionality.<br><br>Anyone wanting to gather data would have to make this small change, rebuild their compiler, build their target with this feature & gatehr results from there.</div></blockquote><div><br></div></div></div><div dir="ltr"><div class="gmail_quote">Then you might as well maintain a patchset outside the main repository and require patching the sources.</div></div></blockquote><div><br>For the zero-out case, that's what I'm suggesting. But I'm also suggesting the design of the non-zero-fill could be chosen to make that patchset relatively small/easy to maintain (essentially an intentional source-level extension point).<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote">What is time consuming and discouraging is not the complexity of the changes, but the fact that one has to rebuild the compiler in the first place, and make any changes at all.</div><div class="gmail_quote"><br></div><div class="gmail_quote">It would also make it much harder to build only part of a complex environment with the feature enabled - for example, building the underlying libraries with the default compiler, and the tools on top with the patched compiler.</div></div></blockquote><div><br>That's kind of the goal - to increase the cost of usage somewhat so it's less easy for it to become a baked in/depended on feature in the future.<br><br>- Dave<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><br></div><div class="gmail_quote">.Andrea<br></div></div></blockquote></div></div>