[compiler-rt] [hwasan] Use ErrorAction::Recover in interceptors (PR #74000)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 2 15:48:41 PST 2023


vitalybuka wrote:

> I believe a similar change should also be made to the `__hwasan_loadN` and `__hwasan_storeN` calls in `COMMON_SYSCALL_PRE_READ_RANGE` and `COMMON_SYSCALL_PRE_WRITE_RANGE`. (I.e. use the `noabort` versions).

Compiler suppose to generate noreturn calls for them.
For returnable calls we use __hwasan_loadN_noabort.

https://github.com/llvm/llvm-project/pull/74000


More information about the llvm-commits mailing list