[compiler-rt] r291076 - [sancov] workaround for absence of weak symbols on win
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 20:18:02 PST 2017
Author: aizatsky
Date: Wed Jan 4 22:18:02 2017
New Revision: 291076
URL: http://llvm.org/viewvc/llvm-project?rev=291076&view=rev
Log:
[sancov] workaround for absence of weak symbols on win
Modified:
compiler-rt/trunk/lib/asan/asan_win.cc
Modified: compiler-rt/trunk/lib/asan/asan_win.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_win.cc?rev=291076&r1=291075&r2=291076&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_win.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_win.cc Wed Jan 4 22:18:02 2017
@@ -60,12 +60,14 @@ const char* __sancov_default_options() {
#pragma comment(linker, "/alternatename:__asan_default_options=__asan_default_default_options") // NOLINT
#pragma comment(linker, "/alternatename:__asan_default_suppressions=__asan_default_default_suppressions") // NOLINT
#pragma comment(linker, "/alternatename:__asan_on_error=__asan_default_on_error") // NOLINT
+#pragma comment(linker, "/alternatename:__sancov_default_options=__sancov_default_default_options") // NOLINT
#else
#pragma comment(linker, "/alternatename:___sanitizer_malloc_hook=___sanitizer_default_malloc_hook") // NOLINT
#pragma comment(linker, "/alternatename:___sanitizer_free_hook=___sanitizer_default_free_hook") // NOLINT
#pragma comment(linker, "/alternatename:___asan_default_options=___asan_default_default_options") // NOLINT
#pragma comment(linker, "/alternatename:___asan_default_suppressions=___asan_default_default_suppressions") // NOLINT
#pragma comment(linker, "/alternatename:___asan_on_error=___asan_default_on_error") // NOLINT
+#pragma comment(linker, "/alternatename:___sancov_default_options=___sancov_default_default_options") // NOLINT
#endif
// }}}
} // extern "C"
More information about the llvm-commits
mailing list