<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Dec 12, 2014, at 2:26 PM, Argyrios Kyrtzidis <<a href="mailto:kyrtzidis@apple.com" class="">kyrtzidis@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><blockquote type="cite" class=""><div class=""><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div class="" style="word-wrap: break-word;"><div class=""><div class=""><br class="Apple-interchange-newline">I’m concerned about this because a release build than never enables debug info should not have debug info getting generated. In the past couple of years we have gradually regressed compile-time performance of clang and this is a fact; I believe one part is a consequence of not being prudent enough and sticking to “pay only what you use”.</div></div></div></blockquote><div class=""><br class=""></div><div class="">I don't see module creation as an issue here and I think this is a red herring.</div></div></div></blockquote><div class=""><br class=""></div><div class="">I don’t follow what you mean, generating debug info unconditionally, even when it was not requested, is work that was not occurring before and has no use. Is “red herring” meaning you think the additional work will be insignificant ? I’d like to see the data against Cocoa.</div></div></div><br class="Apple-interchange-newline"></div></blockquote><br class=""></div><div class="">Another related point. libclang will be one of the clang clients that will have no need or use for debug info in modules, what is the compelling reason to have libclang needing to link to codegen and pay the price for debug info generation ?</div></body></html>