[5/11] patch series to port ASAN for riscv64
Depends On D87573
Differential D87574
[RISCV][ASAN] implementation for vfork interceptor for riscv64 EccoTheDolphin on Sep 12 2020, 6:06 PM. Authored by
Details
Diff Detail
Event TimelineComment Actions This looks reasonable, but I'm not very familiar with the ISA.
Comment Actions Can we please just have a riscv version that works for both RV32 and RV64? It should just be a case of changing some ld/sd's to LOAD/STORE macros that are either [ls]w or [ls]d, and the various multiples of 8 to n*__riscv_xlen instead.
Comment Actions The purpose of this commit series is to make sure sure we have ASAN support functional for RISCV64. I have the setup and a decent passrate. Making sure that some code does work on RV32 requires a dedicated testing environment. I can address RV32 case in a subsequent commit .
|
Why is this using SANITIZER_RISCV64 when all the other arches query their compiler-defined macros directly?