[clang] [Clang][Driver] Declare win32 threads on Windows (PR #121442)
Mateusz MikuĊa via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 1 14:47:38 PST 2025
================
@@ -619,7 +619,13 @@ class ToolChain {
virtual bool SupportsEmbeddedBitcode() const { return false; }
/// getThreadModel() - Which thread model does this target use?
- virtual std::string getThreadModel() const { return "posix"; }
+ virtual std::string getThreadModel() const {
+#ifdef _WIN32
+ return "win32";
----------------
mati865 wrote:
Oh, you are right. This change as is is pretty dumb right now.
https://github.com/llvm/llvm-project/pull/121442
More information about the cfe-commits
mailing list