Skip to content
Commit 1bc0e399 authored by Evgeniy Stepanov's avatar Evgeniy Stepanov
Browse files

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.

llvm-svn: 263310
parent 7d0ec128
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment