summaryrefslogtreecommitdiff
path: root/lib/asan/asan_win.cc
diff options
context:
space:
mode:
authorEtienne Bergeron <etienneb@google.com>2016-08-01 15:08:12 +0000
committerEtienne Bergeron <etienneb@google.com>2016-08-01 15:08:12 +0000
commit4310642c2352d06861ed5b7d336acc9445de87bd (patch)
treeacff599034e6bc12468ecde05aa21fe325279075 /lib/asan/asan_win.cc
parent5402bb5415edeb4995b2a3cde33b2652cabc5c65 (diff)
[compiler-rt] Fix various typos in asan dll [NFC]
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@277345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_win.cc')
-rw-r--r--lib/asan/asan_win.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/asan/asan_win.cc b/lib/asan/asan_win.cc
index a4eb600b6..19ed14be0 100644
--- a/lib/asan/asan_win.cc
+++ b/lib/asan/asan_win.cc
@@ -43,7 +43,7 @@ int __asan_should_detect_stack_use_after_scope() {
return __asan_option_detect_stack_use_after_scope;
}
-// -------------------- A workaround for the abscence of weak symbols ----- {{{
+// -------------------- A workaround for the absence of weak symbols ----- {{{
// We don't have a direct equivalent of weak symbols when using MSVC, but we can
// use the /alternatename directive to tell the linker to default a specific
// symbol to a specific value, which works nicely for allocator hooks and
@@ -70,7 +70,7 @@ void __asan_default_on_error() {}
// }}}
} // extern "C"
-// ---------------------- Windows-specific inteceptors ---------------- {{{
+// ---------------------- Windows-specific interceptors ---------------- {{{
INTERCEPTOR_WINAPI(void, RaiseException, void *a, void *b, void *c, void *d) {
CHECK(REAL(RaiseException));
__asan_handle_no_return();
@@ -153,7 +153,7 @@ void EnsureWorkerThreadRegistered() {
INTERCEPTOR_WINAPI(DWORD, NtWaitForWorkViaWorkerFactory, DWORD a, DWORD b) {
// NtWaitForWorkViaWorkerFactory is called from system worker pool threads to
// query work scheduled by BindIoCompletionCallback, QueueUserWorkItem, etc.
- // System worker pool threads are created at arbitraty point in time and
+ // System worker pool threads are created at arbitrary point in time and
// without using CreateThread, so we wrap NtWaitForWorkViaWorkerFactory
// instead and don't register a specific parent_tid/stack.
EnsureWorkerThreadRegistered();