sancov subtracts one from the address to get the previous instruction, which makes sense on x86_64, but not on other platforms.
This change ensures that the offset is correct for different platforms.
The logic for computing the offset is copied from sanitizer_common.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
@kcc together with https://reviews.llvm.org/D53040 it enables a bunch of previously disabled tests on ARM.