HomeFreeBSD

powerpc: enable supported sanitizers on powerpc64*

Description

powerpc: enable supported sanitizers on powerpc64*

  1. Merge LLVM's 315d792130258a9b7250494be8d002ebb427b08f, adding support

for FreeBSD/powerpc64*.

  1. Add sanitizer list to lib/libclang_rt/Makefile, taken from the list of

libraries that llvm-devel port builds.

  1. powerpc64le supports the same sanitizers that powerpc64, but powerpc64le

also supports xray* sanitizers.

  1. lib/libclang_rt/xray/Makefile hardcodes amd64-specific files, so that needs

to be conditionalized.

  1. Sanitizers are not enabled for powerpc, because powerpc supports only

builtins and profile.

Reviewed by: dim
Differential Revision: https://reviews.freebsd.org/D35228
Relnotes: yes
MFC after: 3 days

(cherry picked from commit f5024381ac16ba43d37a8bd32d54c27f6a6afa66)

Details

Provenance
pkubajAuthored on May 17 2022, 6:39 AM
Reviewer
dim
Differential Revision
D35228: powerpc: enable supported sanitizers on powerpc64*
Parents
rG3d38a083c770: riscv: also enable includes, stats and stats_client in libclang_rt
Branches
Unknown
Tags
Unknown