summaryrefslogtreecommitdiffstats
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
commit18074ab1c540e97f807b09667b3e71fd23f08fa4 (patch)
tree47a327ffe29f0ae828a57255f3a0137b4a9a9c8f
parent5ba804bc11ec0b01d959e22cb009f5e03cf8ab06 (diff)
downloadbcm5719-llvm-18074ab1c540e97f807b09667b3e71fd23f08fa4.tar.gz
bcm5719-llvm-18074ab1c540e97f807b09667b3e71fd23f08fa4.zip
Fix some typos in a comment.
llvm-svn: 318336
-rw-r--r--compiler-rt/lib/lsan/lsan_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/lib/lsan/lsan_common.h b/compiler-rt/lib/lsan/lsan_common.h
index 5adcaad5601..f3863309d89 100644
--- a/compiler-rt/lib/lsan/lsan_common.h
+++ b/compiler-rt/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__) || \
OpenPOWER on IntegriCloud