cfi: Add a blacklist entry for MSVC's std::get_temporary_buffer function.
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 17 Jan 2018 01:15:33 +0000 (01:15 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 17 Jan 2018 01:15:33 +0000 (01:15 +0000)
Differential Revision: https://reviews.llvm.org/D42150

llvm-svn: 322607

compiler-rt/lib/cfi/cfi_blacklist.txt

index d8c9d49..3d73508 100644 (file)
@@ -1,7 +1,9 @@
 [cfi-unrelated-cast]
-# std::get_temporary_buffer, likewise (libstdc++, libc++).
+# The specification of std::get_temporary_buffer mandates a cast to
+# uninitialized T* (libstdc++, libc++, MSVC stdlib).
 fun:_ZSt20get_temporary_buffer*
 fun:_ZNSt3__120get_temporary_buffer*
+fun:*get_temporary_buffer@.*@std@@*
 
 # STL address-of magic (libstdc++, libc++).
 fun:*__addressof*