[libcxx] r208319 - Add Address Sanitizer support to std::vector
Kostya Serebryany
kcc at google.com
Mon May 12 04:13:24 PDT 2014
Do you have a test that demonstrates that? That would be very helpful.
On Mon, May 12, 2014 at 3:12 PM, Stephan Tolksdorf <st at quanttec.com> wrote:
> On Thu, May 8, 2014 at 6:14 PM, Marshall Clow <mclow.lists at gmail.com
>> <mailto:mclow.lists at gmail.com>> wrote:
>>
> (...)
>
> @@ -1535,6 +1582,7 @@ vector<_Tp, _Allocator>::push_back(const
>> {
>> if (this->__end_ != this->__end_cap())
>> {
>> + __annotate_increase(1);
>> __alloc_traits::construct(this->__alloc(),
>>
>> _VSTD::__to_raw_pointer(this->__end_), __x);
>> ++this->__end_;
>>
> (...)
>
> Some of these annotations aren't exception safe. Is that intentional?
>
> - Stephan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140512/2c0dff05/attachment.html>
More information about the cfe-commits
mailing list