Skip to content

Commit eb05e8f

Browse files
authored
[clang] [docs] Clarify the issue with compiler-rt on Windows/MSVC (#106875)
Compiler-rt does support Windows just fine, even if outdated docs pages didn't list it as one of the supported OSes, this is being rectified in #106874. MinGW is another environment configuration on Windows, where compiler-rt or libgcc is linked in automatically, so there's no issue with having such builtins functions available. For MSVC style environments, compiler-rt builtins do work just fine, but Clang doesn't automatically link them in. See e.g. https://discourse.llvm.org/t/improve-autolinking-of-compiler-rt-and-libc-on-windows-with-lld-link/71392 for a discussion on how to improve this situation. But none of that issue is that compiler-rt itself wouldn't support Windows.
1 parent 451a313 commit eb05e8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/www/c_status.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,8 +1057,8 @@ <h2 id="c99">C99 implementation status</h2>
10571057
conformance to Annex G.<br />
10581058
<br />
10591059
<code>_Complex</code> support requires an underlying support library
1060-
such as compiler-rt to provide functions like <code>__divsc3</code>,
1061-
but compiler-rt is not supported on Windows.
1060+
such as compiler-rt to provide functions like <code>__divsc3</code>.
1061+
Compiler-rt isn't linked in automatically in MSVC style environments.
10621062
</details>
10631063
</td>
10641064
</tr>

0 commit comments

Comments
 (0)