commit | 2fe62cded3a7ab806a1d17f6aed34bbe22a20acf | [log] [tgz] |
---|---|---|
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri Mar 11 23:50:57 2016 +0000 |
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Fri Mar 11 23:50:57 2016 +0000 |
tree | ef656c4e8ccdf366b4a20adedc0313d02ea50255 | |
parent | fadd1db57355d63df5c54f6c1508c2bc9aaaad6f [diff] |
Disable CFI checks in std::addressof. std::addressof may be used on a storage of an object before the start of its lifetime (see std::allocate_shared for example). CFI flags the C-style cast as invalid in that case. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@263310 91177308-0d34-0410-b5e6-96231b3b80d8