================ @@ -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"; ---------------- mstorsjo wrote:
I think this rather should check the target OS, than to decide based on the host OS that the binary is running on; in particular, the test you're modifying uses an explicit ARM linux target. https://github.com/llvm/llvm-project/pull/121442 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits