[compiler-rt] 4770f80 - [NFC][Asan] Fix typo in comment
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 4 02:04:34 PDT 2020
Author: Vitaly Buka
Date: 2020-09-04T02:04:25-07:00
New Revision: 4770f80a7c6f5609d3f79c3a832759c1915a73f4
URL: https://github.com/llvm/llvm-project/commit/4770f80a7c6f5609d3f79c3a832759c1915a73f4
DIFF: https://github.com/llvm/llvm-project/commit/4770f80a7c6f5609d3f79c3a832759c1915a73f4.diff
LOG: [NFC][Asan] Fix typo in comment
Added:
Modified:
compiler-rt/lib/asan/asan_allocator.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/asan/asan_allocator.cpp b/compiler-rt/lib/asan/asan_allocator.cpp
index 52033821ffda..f5c273e7fc25 100644
--- a/compiler-rt/lib/asan/asan_allocator.cpp
+++ b/compiler-rt/lib/asan/asan_allocator.cpp
@@ -745,7 +745,7 @@ struct Allocator {
uptr *alloc_magic = reinterpret_cast<uptr *>(alloc_beg);
if (alloc_magic[0] == kAllocBegMagic)
return reinterpret_cast<AsanChunk *>(alloc_magic[1]);
- // FIXME: This is either valid small chunk with tiny redzine or invalid
+ // FIXME: This is either valid small chunk with tiny redzone or invalid
// chunk which is beeing allocated/deallocated. The latter case should
// return nullptr like secondary allocator does.
return reinterpret_cast<AsanChunk *>(alloc_beg);
More information about the llvm-commits
mailing list