libsanitizer: Add option to bootstrap using HWASAN
This is an analogous option to --bootstrap-asan to configure. It allows bootstrapping GCC using HWASAN. For the same reasons as for ASAN we have to avoid using the HWASAN sanitizer when compiling libiberty and the lto-plugin. Also add a function to query whether -fsanitize=hwaddress has been passed. ChangeLog: * configure: Regenerate. * configure.ac: Add --bootstrap-hwasan option. config/ChangeLog: * bootstrap-hwasan.mk: New file. gcc/ChangeLog: * doc/install.texi: Document new option. libiberty/ChangeLog: * configure: Regenerate. * configure.ac: Avoid using sanitizer. lto-plugin/ChangeLog: * Makefile.am: Avoid using sanitizer. * Makefile.in: Regenerate.
Showing
- config/bootstrap-hwasan.mk 8 additions, 0 deletionsconfig/bootstrap-hwasan.mk
- configure 1 addition, 1 deletionconfigure
- configure.ac 1 addition, 1 deletionconfigure.ac
- gcc/doc/install.texi 5 additions, 0 deletionsgcc/doc/install.texi
- libiberty/configure 1 addition, 0 deletionslibiberty/configure
- libiberty/configure.ac 1 addition, 0 deletionslibiberty/configure.ac
- lto-plugin/Makefile.am 2 additions, 2 deletionslto-plugin/Makefile.am
- lto-plugin/Makefile.in 2 additions, 2 deletionslto-plugin/Makefile.in
Loading
Please register or sign in to comment