<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature">On Mon, Jun 18, 2018 at 3:20 PM, JVApen 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></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto">To make matters worse, every time a component gets upgraded (internal library, extrernal library or even the tool-chain, including clang), there is a high probability of firefighting issues. Only when that fails, I spent time logging a bug (as creduce doesn't work on my system).<br></div></div></blockquote><div><br></div><div>I'm assuming you're on Windows. If you're on Windows 10 you can use creduce under WSL (Windows Subsystem for Linux) and have it call Windows binaries. You just need to make a change to make_tmpdir to use a temp directory that Windows programs have access to. I changed mine to:</div><div><br></div><div><div>sub make_tmpdir () {</div><div> my $dir = File::Temp::tempdir("creduce-XXXXXX",</div><div> $SAVE_TEMPS ? (CLEANUP => 0) : (CLEANUP => 1),</div><div> #DIR => File::Spec->tmpdir);</div><div> DIR => "/mnt/d/temp/");</div><div> push @tmpdirs, $dir;</div><div> return $dir;</div><div>}</div></div><div><br></div><div>Which points to D:\temp which I created for this purpose. I know zero Perl so I haven't made a proper patch to upstream, but hopefully this helps if you ever need to reduce in the future.</div><div><br></div><div>
<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">- Michael Spencer</span><br></div></div></div></div>