<div dir="ltr">Implementing GCOV in the new pass managerĀ  (r322126) I'm wondering whether the addition of a "StripSymbols(OnlyDebugInfo = true)" pass is needed - and maybe that functionality in general can be removed?<br><br>It was added, I believe, before we had the "NoDebug" style debug info, used specifically for profiling, optimization remarks, etc. So when this was implemented, stripping the debug info was probably necessary to avoid actually emitting debug info into the resulting object files.<br><br>This could be useful in an LTO like build, if you know the debug info is not needed at the LTO stage - strip it out at the end of the frontend compile to reduce the size of bitcode files.<br><br>So... does this seem relevant here? In general? (I haven't looked at what other uses)<br><br>Totally happy to port the StripSymbols pass to the new pass manager if it seems like it's useful/necessary.<br><br>- Dave</div>