[compiler-rt] r291077 - fixing build, accidentally deleted two lines
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 20:22:21 PST 2017
Author: aizatsky
Date: Wed Jan 4 22:22:20 2017
New Revision: 291077
URL: http://llvm.org/viewvc/llvm-project?rev=291077&view=rev
Log:
fixing build, accidentally deleted two lines
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=291077&r1=291076&r2=291077&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_win.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_win.cc Wed Jan 4 22:22:20 2017
@@ -55,6 +55,8 @@ const char* __asan_default_default_optio
const char* __asan_default_default_suppressions() { return ""; }
void __asan_default_on_error() {}
const char* __sancov_default_options() { return ""; }
+// 64-bit msvc will not prepend an underscore for symbols.
+#ifdef _WIN64
#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
More information about the llvm-commits
mailing list