[PATCH] D42150: cfi: Add a blacklist entry for MSVC's std::get_temporary_buffer function.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 16 17:16:58 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL322607: cfi: Add a blacklist entry for MSVC's std::get_temporary_buffer function. (authored by pcc, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D42150?vs=130069&id=130074#toc
Repository:
rL LLVM
https://reviews.llvm.org/D42150
Files:
compiler-rt/trunk/lib/cfi/cfi_blacklist.txt
Index: compiler-rt/trunk/lib/cfi/cfi_blacklist.txt
===================================================================
--- compiler-rt/trunk/lib/cfi/cfi_blacklist.txt
+++ compiler-rt/trunk/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 at .*@std@@*
# STL address-of magic (libstdc++, libc++).
fun:*__addressof*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42150.130074.patch
Type: text/x-patch
Size: 610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180117/94c2954d/attachment.bin>
More information about the llvm-commits
mailing list