aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-11-15 12:49:10 +0100
committerJakub Jelinek <jakub@redhat.com>2023-11-15 12:49:10 +0100
commit95710d75ec8b12a4981a71de7de270fb1ade8fd2 (patch)
tree41604086c467bee73e68315f010cbed52589b3d1 /gcc
parentfab2571c7fe7e9d5372fb7ff1218b17ebe771720 (diff)
downloadgcc-95710d75ec8b12a4981a71de7de270fb1ade8fd2.zip
gcc-95710d75ec8b12a4981a71de7de270fb1ade8fd2.tar.gz
gcc-95710d75ec8b12a4981a71de7de270fb1ade8fd2.tar.bz2
libsanitizer: Readd __ubsan_handle_function_type_mismatch_v1{,_abort}
So that we don't have to bump libubsan.so.1 SONAME, the following patch reverts part of the changes which removed two handlers. While we don't actually use them from GCC, we shouldn't remove supported entrypoints unless SONAME is changed (removal of __interceptor_* or ___interceptor_* is fine). This is the only removal, other libraries just added some symbols. 2023-11-15 Jakub Jelinek <jakub@redhat.com> * ubsan/ubsan_handlers_cxx.h (FunctionTypeMismatchData): Forward declare. (__ubsan_handle_function_type_mismatch_v1, __ubsan_handle_function_type_mismatch_v1_abort): Declare. * ubsan/ubsan_handlers_cxx.cpp (handleFunctionTypeMismatch, __ubsan_handle_function_type_mismatch_v1, __ubsan_handle_function_type_mismatch_v1_abort): New functions readded for backwards compatibility from older ubsan. * ubsan/ubsan_interface.inc (__ubsan_handle_function_type_mismatch_v1, __ubsan_handle_function_type_mismatch_v1_abort): Readd.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions