diff options
author | Luís Marques <luismarques@lowrisc.org> | 2020-03-26 19:54:29 +0000 |
---|---|---|
committer | Luís Marques <luismarques@lowrisc.org> | 2020-03-26 19:55:35 +0000 |
commit | ad1466f8cbc520b2f03e1f6daa78f035bccf21df (patch) | |
tree | a3f48284f0e97f741f6d8b28ca622464e8c53dfd /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | fdfe411e7c9a844e7465bbe443fb6d1d9dbc4539 (diff) | |
download | llvm-ad1466f8cbc520b2f03e1f6daa78f035bccf21df.zip llvm-ad1466f8cbc520b2f03e1f6daa78f035bccf21df.tar.gz llvm-ad1466f8cbc520b2f03e1f6daa78f035bccf21df.tar.bz2 |
[sanitizer][RISCV] Implement SignalContext::GetWriteFlag for RISC-V
This patch follows the approach also used for MIPS, where we decode the
offending instruction to determine if the fault was caused by a read or
write operation, as that seems to be the only relevant information we have
in the signal context structure to determine that.
Differential Revision: https://reviews.llvm.org/D75168
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions