<div><div dir="auto">We probably need to use vswhere nowadays:</div></div><div dir="auto"><div><a href="https://devblogs.microsoft.com/setup/vswhere-is-now-installed-with-visual-studio-2017/">https://devblogs.microsoft.com/setup/vswhere-is-now-installed-with-visual-studio-2017/</a></div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 12 Feb 2020 at 19:10, Reid Kleckner via Phabricator via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">rnk added a comment.<br>
<br>
In D74409#1872084 <<a href="https://reviews.llvm.org/D74409#1872084" rel="noreferrer" target="_blank">https://reviews.llvm.org/D74409#1872084</a>>, @TWeaver wrote:<br>
<br>
> The windows debug info tests are built with clang and debugged using dbgeng atm, so there shouldn't be any overlap with visual studio at all.<br>
><br>
> I'd be very interested to see what the issue is.<br>
<br>
<br>
There are my check-debuginfo logs:<br>
<a href="https://reviews.llvm.org/P8194" rel="noreferrer" target="_blank">https://reviews.llvm.org/P8194</a><br>
<br>
I think the VS dependence is here:<br>
<a href="https://github.com/llvm/llvm-project/blob/master/debuginfo-tests/dexter/dex/builder/scripts/windows/clang-cl_vs2015.bat#L4" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project/blob/master/debuginfo-tests/dexter/dex/builder/scripts/windows/clang-cl_vs2015.bat#L4</a><br>
<br>
  call "%VS140COMNTOOLS%..\..\VC\bin\amd64\vcvars64.bat"<br>
<br>
This would set up the environment so that clang-cl can find MSVC headers and libraries. For me, VS140COMNTOOLS is not set, and the later errors are probably a downstream consequence of that. I launched a new "developer command prompt" for VS 2019 and it also lacks that env var, so I'm not sure it can be relied on.<br>
<br>
Hopefully that helps.<br>
<br>
<br>
Repository:<br>
  rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D74409/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D74409/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D74409" rel="noreferrer" target="_blank">https://reviews.llvm.org/D74409</a><br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div></div>