Hmm I don’t remember why i did that, certainly looks like an accident <br><div class="gmail_quote"><div dir="ltr">On Sat, Apr 28, 2018 at 5:37 PM Nico Weber via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thakis added inline comments.<br>
<br>
<br>
================<br>
Comment at: llvm/trunk/lib/Support/Unix/Threading.inc:98<br>
+ return uint64_t(syscall(SYS_gettid));<br>
+#elif defined(LLVM_ON_WIN32)<br>
+ return uint64_t(::GetCurrentThreadId());<br>
----------------<br>
LLVM_ON_WIN32 will never be set in Unix/Threading.inc, will it? Is this branch ever used?<br>
<br>
<br>
Repository:<br>
rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D30526" rel="noreferrer" target="_blank">https://reviews.llvm.org/D30526</a><br>
<br>
<br>
<br>
</blockquote></div>