I have rebased this series onto Martin Liska's patches that take the most recent libhwasan from upstream LLVM. https://gcc.gnu.org/ml/gcc-patches/2019-11/msg00340.html
I've also cleared up some nomenclature (I had previously used the word 'colour' a few times instead of the word 'tag' and that clashes with other descriptions) and based the patch series off a more recent GCC revision (r277678). There's an ongoing discussion on whether to have __SANITIZER_ADDRESS__, or __SANITIZER_HWADDRESS__, but I'm keeping that discussion to the existing thread. Similarly there's still the question around C++ exceptions that I'm keeping to the existing thread (on the first patch series). NOTE: Unfortunately, there's a bug in the more recent version of GCC I rebased onto. Hwasan catches this when bootstrapping, which means bootstrapping with hwasan fails. I'm working on tracking the bug down now, but sending this series upstream for visibility while that happens. Bugzilla link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92410 Entire patch series attached to cover letter.
all-patches.tar.gz
Description: all-patches.tar.gz