[compiler-rt] r302272 - CFI: Add a blacklist entry for std::_Sp_counted_ptr_inplace::_Sp_counted_ptr_inplace().

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 11:46:14 PDT 2017


Author: pcc
Date: Fri May  5 13:46:14 2017
New Revision: 302272

URL: http://llvm.org/viewvc/llvm-project?rev=302272&view=rev
Log:
CFI: Add a blacklist entry for std::_Sp_counted_ptr_inplace::_Sp_counted_ptr_inplace().

This ctor is used by std::make_shared and needs to cast to uninitialized T*
in order to call std::allocator_traits<T>::construct.

Modified:
    compiler-rt/trunk/lib/cfi/cfi_blacklist.txt

Modified: compiler-rt/trunk/lib/cfi/cfi_blacklist.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/cfi/cfi_blacklist.txt?rev=302272&r1=302271&r2=302272&view=diff
==============================================================================
--- compiler-rt/trunk/lib/cfi/cfi_blacklist.txt (original)
+++ compiler-rt/trunk/lib/cfi/cfi_blacklist.txt Fri May  5 13:46:14 2017
@@ -24,3 +24,8 @@ fun:_ZNSt3__19addressof*
 # Windows C++ stdlib headers that contain bad unrelated casts.
 src:*xmemory0
 src:*xstddef
+
+# std::_Sp_counted_ptr_inplace::_Sp_counted_ptr_inplace() (libstdc++).
+# This ctor is used by std::make_shared and needs to cast to uninitialized T*
+# in order to call std::allocator_traits<T>::construct.
+fun:_ZNSt23_Sp_counted_ptr_inplace*




More information about the llvm-commits mailing list