Displaying 2 results from an estimated 2 matches for "094dcf31".
2016 Mar 23
0
UBSan, StringRef and Allocator.h
...tions - can be
recycled once deleted) if I recall correctly. Can check for wording if
that's helpful/desired.
>
> Thanks,
> Pete
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160322/094dcf31/attachment.html>
2016 Mar 23
4
UBSan, StringRef and Allocator.h
Hi all
(No idea if I have the correct audience. Please CC more people as needed).
I have an UBSan failure in BumpPtrAllocatorImpl.Allocate.
The problem is that lld requests that we StringRef::copy an empty string. This passes a length of 0 to a BumpPtrAllocator. The BumpPtrAllocator happened to not have anything allocated yet so the CurPtr is nullptr, but given that we need 0 space we think