[PATCH] D40720: No -fsanitize=function warning when calling noexcept function through non-noexcept pointer in C++17

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 18 11:50:02 PST 2017


vsk added a comment.

Copying my comment from the diffusion thread to keep things in one place:

> You could make FunctionTypeMismatch an 'AlwaysRecoverable' check, just like the Vptr check, and remove the _abort handlers from the ubsan runtimes.


Repository:
  rC Clang

https://reviews.llvm.org/D40720





More information about the cfe-commits mailing list