]> granicus.if.org Git - clang/commit
Revert r320978 "No -fsanitize=function warning when calling noexcept function through...
authorStephan Bergmann <sbergman@redhat.com>
Mon, 18 Dec 2017 13:51:48 +0000 (13:51 +0000)
committerStephan Bergmann <sbergman@redhat.com>
Mon, 18 Dec 2017 13:51:48 +0000 (13:51 +0000)
commitee0aaff9cda92920a704a7bd4000c8ba27e33922
treed964d5f9fe8b522605be9efc84003a8a76e7bde8
parent6cd6542e266e963b33dbad009ee963d24eaced16
Revert r320978 "No -fsanitize=function warning when calling noexcept function through non-noexcept pointer in C++17"

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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320982 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExpr.cpp