[compiler-rt] 1f1369e - [sanitizers] Fix building on case sensitive mingw platforms
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 16 23:34:53 PDT 2021
Author: Martin Storsjö
Date: 2021-07-17T09:34:16+03:00
New Revision: 1f1369e4769945e3d975bc4d7c7a9db30ed47b04
URL: https://github.com/llvm/llvm-project/commit/1f1369e4769945e3d975bc4d7c7a9db30ed47b04
DIFF: https://github.com/llvm/llvm-project/commit/1f1369e4769945e3d975bc4d7c7a9db30ed47b04.diff
LOG: [sanitizers] Fix building on case sensitive mingw platforms
Make synchronization.lib all lowercase name for mingw, where casing matters.
This fixes building after 6d160abd7eba73031a2af500981f8ef44bd75ee4.
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_win.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
index dda3b0e07069..dddd885a45dd 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_win.cpp
@@ -45,7 +45,7 @@ TRACELOGGING_DEFINE_PROVIDER(g_asan_provider, "AddressSanitizerLoggingProvider",
#endif
// For WaitOnAddress
-# pragma comment(lib, "Synchronization.lib")
+# pragma comment(lib, "synchronization.lib")
// A macro to tell the compiler that this part of the code cannot be reached,
// if the compiler supports this feature. Since we're using this in
More information about the llvm-commits
mailing list