diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-01-17 01:15:33 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-01-17 01:15:33 +0000 |
commit | 7351a22b7de47db8fc7bcb2aaffb752d313cc3b7 (patch) | |
tree | 53ad5cea710f82e3f7aa9a0c02fc5b1427771e67 /compiler-rt | |
parent | 5a11dd9690d28643397ed57a23b12eccb7663127 (diff) | |
download | bcm5719-llvm-7351a22b7de47db8fc7bcb2aaffb752d313cc3b7.tar.gz bcm5719-llvm-7351a22b7de47db8fc7bcb2aaffb752d313cc3b7.zip |
cfi: Add a blacklist entry for MSVC's std::get_temporary_buffer function.
Differential Revision: https://reviews.llvm.org/D42150
llvm-svn: 322607
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/lib/cfi/cfi_blacklist.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/cfi/cfi_blacklist.txt b/compiler-rt/lib/cfi/cfi_blacklist.txt index d8c9d49e3cd..3d73508f570 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* |