projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a3d35
)
[NFC][Asan] Fix typo in comment
author
Vitaly Buka
<vitalybuka@google.com>
Fri, 4 Sep 2020 09:03:28 +0000
(
02:03
-0700)
committer
Vitaly Buka
<vitalybuka@google.com>
Fri, 4 Sep 2020 09:04:25 +0000
(
02:04
-0700)
compiler-rt/lib/asan/asan_allocator.cpp
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/asan_allocator.cpp
b/compiler-rt/lib/asan/asan_allocator.cpp
index
5203382
..
f5c273e
100644
(file)
--- 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 redz
i
ne or invalid
+ // FIXME: This is either valid small chunk with tiny redz
o
ne or invalid
// chunk which is beeing allocated/deallocated. The latter case should
// return nullptr like secondary allocator does.
return reinterpret_cast<AsanChunk *>(alloc_beg);