summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFrancis Ricci <francisjricci@gmail.com>2017-11-15 21:19:20 +0000
committerFrancis Ricci <francisjricci@gmail.com>2017-11-15 21:19:20 +0000
commitb1d0cfb1e9600f014484173b0b5d11743f67ce3a (patch)
treeeea2231b5b25a1723783d6fed716417f50c93fe8 /lib
parentf404b186180d0a52875d366cca99b55e602f6d2f (diff)
Fix some typos in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@318336 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/lsan/lsan_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lsan/lsan_common.h b/lib/lsan/lsan_common.h
index 5adcaad56..f3863309d 100644
--- a/lib/lsan/lsan_common.h
+++ b/lib/lsan/lsan_common.h
@@ -27,9 +27,9 @@
// because of "small" (4 bytes) pointer size that leads to high false negative
// ratio on large leaks. But we still want to have it for some 32 bit arches
// (e.g. x86), see https://github.com/google/sanitizers/issues/403.
-// To enable LeakSanitizer on new architecture, one need to implement
-// internal_clone function as well as (probably) adjust TLS machinery for
-// new architecture inside sanitizer library.
+// To enable LeakSanitizer on a new architecture, one needs to implement the
+// internal_clone function as well as (probably) adjust the TLS machinery for
+// the new architecture inside the sanitizer library.
#if (SANITIZER_LINUX && !SANITIZER_ANDROID || SANITIZER_MAC) && \
(SANITIZER_WORDSIZE == 64) && \
(defined(__x86_64__) || defined(__mips64) || defined(__aarch64__) || \