[libcxx-commits] [PATCH] D95827: Avoid cast<T*> before T is constructed to pacify CFI checks

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Feb 2 07:26:11 PST 2021


ldionne added a comment.

We could add `_LIBCPP_NO_CFI` on the problematic method, like we do for `std::addressof`. Can you try that out?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95827/new/

https://reviews.llvm.org/D95827



More information about the libcxx-commits mailing list