[libcxx] r240139 - Fix ASAN bot; missing bookkeeping in r240136.
Marshall Clow
mclow.lists at gmail.com
Fri Jun 19 10:13:59 PDT 2015
Author: marshall
Date: Fri Jun 19 12:13:59 2015
New Revision: 240139
URL: http://llvm.org/viewvc/llvm-project?rev=240139&view=rev
Log:
Fix ASAN bot; missing bookkeeping in r240136.
Modified:
libcxx/trunk/include/memory
Modified: libcxx/trunk/include/memory
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/memory?rev=240139&r1=240138&r2=240139&view=diff
==============================================================================
--- libcxx/trunk/include/memory (original)
+++ libcxx/trunk/include/memory Fri Jun 19 12:13:59 2015
@@ -4076,6 +4076,7 @@ private:
{
__e->__weak_this_.__ptr_ = const_cast<_Yp*>(static_cast<const _Yp*>(__e));
__e->__weak_this_.__cntrl_ = __cntrl_;
+ Â Â Â Â Â __cntrl_->__add_weak();
}
}
More information about the cfe-commits
mailing list