<div dir="ltr">We have the LLVM_DISABLE_CRASH_REPORT environment variable, but that's more about whether we should do crash reporting or not.<div><br></div><div>It would be pretty reasonable to have another one to disable all this stuff. It would also be reasonable to have a cmake option that compiles this stuff away, since it basically never works on user machines that don't have debug info.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 23, 2017 at 2:02 PM, David Blaikie via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">test/BugPoint/metadata.ll<br>Takes about 6 seconds to run if llvm-symbolizer isn't present<br>13 seconds with debug info<br>1m30s with split DWARF/Fission<br><br>So, couple of things:<br>1) llvm-symbolizer is /really slow/ on split-dwarf files... <br>2) Why are stack traces even attempted when using bugpoint? Even if it's just the 6->13s slowdown, that's still halving the speed of bugpoint in the presence of llvm-symbolizer+debug info (I didn't test in the presence of llvm-symbolizer but no debug info)?<br><br>It doesn't look like the LLVM tools have any way to disable symbolization/stack trace/crash handling. Is that correct? Is there a flag somewhere that I missed?<br><br>Would it be worth adding such a flag and passing it from bugpoint to the various tools it invokes?<br><br>(anyone interested in looking at exactly what makes llvm-symbolizer /so/ much slower on split DWARF? I guess that's probably something for me to look at, really (though I checked that it's at least not due to my recent changes - but there have been some other refactorings here recently too) - but figured I'd check)</div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>