[compiler-rt] r310244 - [asan] Return sizeof missed by r309914

Kuba Mracek via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 7 14:04:24 PDT 2017


Oh, sorry, my bad.  Based on <https://bugs.llvm.org/show_bug.cgi?id=34085 <https://bugs.llvm.org/show_bug.cgi?id=34085>>, I thought the bug is in release_50, but I guess it's not.

Sorry for the noise here!

Kuba

> On 7 Aug 2017, at 13:39, Hans Wennborg via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> On Mon, Aug 7, 2017 at 9:24 AM, Kuba Mracek <mracek at apple.com> wrote:
>> Please merge into relase_50.
> 
> r309914 is not on the branch, so why should this one be merged?
> 
>> How "open" is the release_50 branch?  Can I just merge important commits directly, or should I always CC Hans?
> 
> See http://lists.llvm.org/pipermail/llvm-dev/2017-July/115594.html
> Always ask me first. The easiest is to cc me on the commit email like
> this one. For non-trivial changes the person in CODE_OWNERS.txt should
> also sign off.
> 
> And please try to include a rationale with the merge request unless
> it's an obvious fix.
> 
> Thanks,
> Hans
> 
>>> On 7 Aug 2017, at 02:08, Vitaly Buka via llvm-commits <llvm-commits at lists.llvm.org> wrote:
>>> 
>>> Author: vitalybuka
>>> Date: Mon Aug  7 02:08:44 2017
>>> New Revision: 310244
>>> 
>>> URL: http://llvm.org/viewvc/llvm-project?rev=310244&view=rev
>>> Log:
>>> [asan] Return sizeof missed by r309914
>>> 
>>> Modified:
>>>   compiler-rt/trunk/lib/asan/asan_malloc_linux.cc
>>> 
>>> Modified: compiler-rt/trunk/lib/asan/asan_malloc_linux.cc
>>> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_malloc_linux.cc?rev=310244&r1=310243&r2=310244&view=diff
>>> ==============================================================================
>>> --- compiler-rt/trunk/lib/asan/asan_malloc_linux.cc (original)
>>> +++ compiler-rt/trunk/lib/asan/asan_malloc_linux.cc Mon Aug  7 02:08:44 2017
>>> @@ -32,7 +32,7 @@ static uptr alloc_memory_for_dlsym[kDlsy
>>> 
>>> static INLINE bool IsInDlsymAllocPool(const void *ptr) {
>>>  uptr off = (uptr)ptr - (uptr)alloc_memory_for_dlsym;
>>> -  return off < allocated_for_dlsym;
>>> +  return off < sizeof(alloc_memory_for_dlsym);
>>> }
>>> 
>>> static void *AllocateFromLocalPool(uptr size_in_bytes) {
>>> 
>>> 
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at lists.llvm.org
>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170807/95ee4370/attachment.html>


More information about the llvm-commits mailing list