[PATCH] D42146: libcxx: Disable CFI in function std::get_temporary_buffer.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 11:35:31 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCXX322744: libcxx: Disable CFI in function std::get_temporary_buffer. (authored by pcc, committed by ).
Herald added a subscriber: cfe-commits.

Changed prior to commit:
  https://reviews.llvm.org/D42146?vs=130063&id=130238#toc

Repository:
  rCXX libc++

https://reviews.llvm.org/D42146

Files:
  include/memory


Index: include/memory
===================================================================
--- include/memory
+++ include/memory
@@ -1992,6 +1992,7 @@
 };
 
 template <class _Tp>
+_LIBCPP_NO_CFI
 pair<_Tp*, ptrdiff_t>
 get_temporary_buffer(ptrdiff_t __n) _NOEXCEPT
 {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42146.130238.patch
Type: text/x-patch
Size: 267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180117/693e5076/attachment.bin>


More information about the llvm-commits mailing list