On 16/11/16 14:00, Jakub Jelinek wrote:
On Fri, Nov 11, 2016 at 06:32:43PM +0300, Maxim Ostapenko wrote:
Tested on x86_64-unknown-linux-gnu. OK for mainline?
Ok (though the LOCAL_PATCHES file is missing in the patch).
Yes, I'm going to commit it in separate revision.
libsanitizer/ChangeLog:
2016-11-11 Maxim Ostapenko <m.ostape...@samsung.com>
PR sanitizer/78307
* ubsan/ubsan_handlers.cc (__ubsan_handle_cfi_bad_icall): New function.
( __ubsan_handle_cfi_bad_icall_abort): Likewise.
* ubsan/ubsan_handlers.h (struct CFIBadIcallData): New type.
* ubsan/ubsan_handlers_cxx.cc (__ubsan_handle_cfi_bad_type): New
function.
(__ubsan_handle_cfi_bad_type_abort): Likewise.
* ubsan/ubsan_handlers_cxx.h (struct CFIBadTypeData): New type.
(__ubsan_handle_cfi_bad_type): Export function.
(__ubsan_handle_cfi_bad_type_abort): Likewise.
* LOCAL_PATCHES: New file.
* HOWTO_MERGE: Update documentation.
Jakub