[all-commits] [llvm/llvm-project] b475ce: [sanitizer] Fix build on FreeBSD RISC-V

Alexander Richardson via All-commits all-commits at lists.llvm.org
Thu Aug 26 04:07:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b475ce39e8b1de3a70ea242473f136a567be46e3
      https://github.com/llvm/llvm-project/commit/b475ce39e8b1de3a70ea242473f136a567be46e3
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-08-26 (Thu, 26 Aug 2021)

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

  Log Message:
  -----------
  [sanitizer] Fix build on FreeBSD RISC-V

We have to avoid calling renameat2 and clone on FreeBSD.
Additionally, the mcontext structure has different members.

Reviewed By: jrtc27, luismarques

Differential Revision: https://reviews.llvm.org/D103886




More information about the All-commits mailing list