[all-commits] [llvm/llvm-project] eb05e8: [clang] [docs] Clarify the issue with compiler-rt ...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Sep 3 12:45:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb05e8fde1ebc4cda2106b1236620a8a89b36b7c
      https://github.com/llvm/llvm-project/commit/eb05e8fde1ebc4cda2106b1236620a8a89b36b7c
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-09-03 (Tue, 03 Sep 2024)

  Changed paths:
    M clang/www/c_status.html

  Log Message:
  -----------
  [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
https://github.com/llvm/llvm-project/pull/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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list