[PATCH] D40720: No -fsanitize=function warning when calling noexcept function through non-noexcept pointer in C++17
Stephan Bergmann via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 18 05:59:03 PST 2017
sberg reopened this revision.
sberg added a comment.
Had to revert r320977/r320978 again with r320981/r320982: "At least http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-android/builds/6013/steps/annotate/logs/stdio complains about
ubsan::ubsan_handle_function_type_mismatch_abort (compiler-rt lib/ubsan/ubsan_handlers.cc) returning now despite being declared 'noreturn', so looks like a different approach is needed for the function_type_mismatch check
to be called also in cases that may ultimately succeed."
Any hint how to achieve that properly?
Repository:
rC Clang
https://reviews.llvm.org/D40720
More information about the cfe-commits
mailing list