From: Peter Collingbourne Date: Wed, 17 Jan 2018 01:15:33 +0000 (+0000) Subject: cfi: Add a blacklist entry for MSVC's std::get_temporary_buffer function. X-Git-Tag: llvmorg-7.0.0-rc1~15127 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7351a22b7de47db8fc7bcb2aaffb752d313cc3b7;p=platform%2Fupstream%2Fllvm.git cfi: Add a blacklist entry for MSVC's std::get_temporary_buffer function. Differential Revision: https://reviews.llvm.org/D42150 llvm-svn: 322607 --- diff --git a/compiler-rt/lib/cfi/cfi_blacklist.txt b/compiler-rt/lib/cfi/cfi_blacklist.txt index d8c9d49..3d73508 100644 --- a/compiler-rt/lib/cfi/cfi_blacklist.txt +++ b/compiler-rt/lib/cfi/cfi_blacklist.txt @@ -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*