summaryrefslogtreecommitdiff
path: root/lib/asan/asan_win_dynamic_runtime_thunk.cc
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-03-22 00:34:53 +0000
committerReid Kleckner <rnk@google.com>2016-03-22 00:34:53 +0000
commitdfde1951fa9f3f171e0b48fab96372819f9a094a (patch)
treeeec6a5d358093ba8a28858efc64c5786b1a6d166 /lib/asan/asan_win_dynamic_runtime_thunk.cc
parent95c57718162a15a050dbcba0f448ab532f761f51 (diff)
[asan] Also apply r264006 to asan_win_dynamic_runtime_thunk.cc
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@264011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_win_dynamic_runtime_thunk.cc')
-rw-r--r--lib/asan/asan_win_dynamic_runtime_thunk.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/asan_win_dynamic_runtime_thunk.cc b/lib/asan/asan_win_dynamic_runtime_thunk.cc
index 73e5207bb..6685b8f30 100644
--- a/lib/asan/asan_win_dynamic_runtime_thunk.cc
+++ b/lib/asan/asan_win_dynamic_runtime_thunk.cc
@@ -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 __asan_set_seh_filter(); }
// 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