[compiler-rt] r264011 - [asan] Also apply r264006 to asan_win_dynamic_runtime_thunk.cc
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 21 17:34:54 PDT 2016
Author: rnk
Date: Mon Mar 21 19:34:53 2016
New Revision: 264011
URL: http://llvm.org/viewvc/llvm-project?rev=264011&view=rev
Log:
[asan] Also apply r264006 to asan_win_dynamic_runtime_thunk.cc
Modified:
compiler-rt/trunk/lib/asan/asan_win_dynamic_runtime_thunk.cc
Modified: compiler-rt/trunk/lib/asan/asan_win_dynamic_runtime_thunk.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_win_dynamic_runtime_thunk.cc?rev=264011&r1=264010&r2=264011&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_win_dynamic_runtime_thunk.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_win_dynamic_runtime_thunk.cc Mon Mar 21 19:34:53 2016
@@ -29,7 +29,7 @@
// First, declare CRT sections we'll be using in this file
#pragma section(".CRT$XID", long, read) // NOLINT
-#pragma section(".CRT$XIZ", long, read) // NOLINT
+#pragma section(".CRT$XCAB", long, read) // NOLINT
#pragma section(".CRT$XTW", long, read) // NOLINT
#pragma section(".CRT$XTY", long, read) // NOLINT
@@ -93,7 +93,7 @@ static int SetSEHFilter() { return __asa
// Unfortunately, putting a pointer to __asan_set_seh_filter into
// __asan_intercept_seh gets optimized out, so we have to use an extra function.
-__declspec(allocate(".CRT$XIZ")) int (*__asan_seh_interceptor)() = SetSEHFilter;
+__declspec(allocate(".CRT$XCAB")) int (*__asan_seh_interceptor)() = SetSEHFilter;
}
#endif // ASAN_DYNAMIC_RUNTIME_THUNK
More information about the llvm-commits
mailing list