[all-commits] [llvm/llvm-project] ad1466: [sanitizer][RISCV] Implement SignalContext::GetWri...

Luís Marques via All-commits all-commits at lists.llvm.org
Thu Mar 26 12:56:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ad1466f8cbc520b2f03e1f6daa78f035bccf21df
      https://github.com/llvm/llvm-project/commit/ad1466f8cbc520b2f03e1f6daa78f035bccf21df
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list