[PATCH] D36190: [asan] Allocator support for Fuchsia
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 01:48:50 PDT 2017
vitalybuka added inline comments.
================
Comment at: lib/asan/asan_malloc_linux.cc:35
uptr off = (uptr)ptr - (uptr)alloc_memory_for_dlsym;
- return off < sizeof(alloc_memory_for_dlsym);
+ return off < allocated_for_dlsym;
}
----------------
Why sizeof is gone here?
Repository:
rL LLVM
https://reviews.llvm.org/D36190
More information about the llvm-commits
mailing list