Libsanitizer: RISC-V now supports HWASAN.
Enables building libsanitizer with HWASAN support for RISC-V targets.
This commit enables Hardware-assisted AddressSanitizer (HWASAN) support for RISC-V targets in libsanitizer. With both libsanitizer and the RISC-V backend now supporting HWASAN, this change allows building libsanitizer with HWASAN enabled for RISC-V.
In Details
This commit modifies configure.tgt to enable HWASAN support for the RISC-V target. HWASAN is a memory error detector that uses hardware tagging to improve performance. Search terms: libsanitizer HWASAN RISC-V.
For Context
AddressSanitizer (ASan) is a fast memory error detector. HWASAN is a variant that uses hardware memory tagging to reduce the performance overhead. This commit enables HWASAN for RISC-V, a modern open-source processor architecture. This allows developers to more easily find memory errors in their RISC-V code. Search terms: libsanitizer HWASAN RISC-V.