summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2014-10-13 21:40:52 +0000
committerFilipe Cabecinhas <me@filcab.net>2014-10-13 21:40:52 +0000
commit830c45e5de51008425b945c798a3b8e42cb5cf98 (patch)
tree52d73c47ff2ddd99b3081817f9659d4574b0532e /compiler-rt
parentfd989c9aeebf8c1e190802f628410f738a9c434c (diff)
downloadbcm5719-llvm-830c45e5de51008425b945c798a3b8e42cb5cf98.tar.gz
bcm5719-llvm-830c45e5de51008425b945c798a3b8e42cb5cf98.zip
Fix minor typos in comments.
llvm-svn: 219632
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/include/sanitizer/asan_interface.h2
-rw-r--r--compiler-rt/include/sanitizer/common_interface_defs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/include/sanitizer/asan_interface.h b/compiler-rt/include/sanitizer/asan_interface.h
index 8ae434008a4..435391486aa 100644
--- a/compiler-rt/include/sanitizer/asan_interface.h
+++ b/compiler-rt/include/sanitizer/asan_interface.h
@@ -55,7 +55,7 @@ extern "C" {
// Otherwise returns 0.
int __asan_address_is_poisoned(void const volatile *addr);
- // If at least on byte in [beg, beg+size) is poisoned, return the address
+ // If at least one byte in [beg, beg+size) is poisoned, return the address
// of the first such byte. Otherwise return 0.
void *__asan_region_is_poisoned(void *beg, size_t size);
diff --git a/compiler-rt/include/sanitizer/common_interface_defs.h b/compiler-rt/include/sanitizer/common_interface_defs.h
index 082a931ffe2..deb053d94d7 100644
--- a/compiler-rt/include/sanitizer/common_interface_defs.h
+++ b/compiler-rt/include/sanitizer/common_interface_defs.h
@@ -105,7 +105,7 @@ extern "C" {
const void *end,
const void *old_mid,
const void *new_mid);
- // Returns true if the contiguous container [beg, end) ir properly poisoned
+ // Returns true if the contiguous container [beg, end) is properly poisoned
// (e.g. with __sanitizer_annotate_contiguous_container), i.e. if
// - [beg, mid) is addressable,
// - [mid, end) is unaddressable.
OpenPOWER on IntegriCloud