cfi: Add a blacklist entry for MSVC's std::get_temporary_buffer function.

Differential Revision: https://reviews.llvm.org/D42150

llvm-svn: 322607
This commit is contained in:
Peter Collingbourne 2018-01-17 01:15:33 +00:00
parent 5a11dd9690
commit 7351a22b7d
1 changed files with 3 additions and 1 deletions

View 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*