[all-commits] [llvm/llvm-project] 315d79: [PowerPC] Fix sanitizers build on FreeBSD

pkubaj via All-commits all-commits at lists.llvm.org
Mon Apr 18 05:16:27 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 315d792130258a9b7250494be8d002ebb427b08f
  Author: Piotr Kubaj <pkubaj at FreeBSD.org>
  Date:   2022-04-18 (Mon, 18 Apr 2022)

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

  Log Message:
  [PowerPC] Fix sanitizers build on FreeBSD

1. Add correct pc, sp and bp for FreeBSD.
2. Since there's no personality.h header on FreeBSD, move SANITIZER_PPC64V2
   case below FREEBSD case.
3. __ppc_get_timebase_freq() is glibc-specific. Add a shim for FreeBSD that
   does the same.

More information about the All-commits mailing list