Page MenuHomeFreeBSD

powerpc: enable supported sanitizers on powerpc64*
ClosedPublic

Authored by pkubaj on May 17 2022, 6:44 AM.
Tags
None
Referenced Files
F82215256: D35228.id106114.diff
Fri, Apr 26, 3:03 PM
F82215242: D35228.id106089.diff
Fri, Apr 26, 3:03 PM
F82215210: D35228.id.diff
Fri, Apr 26, 3:02 PM
F82198073: D35228.diff
Fri, Apr 26, 9:33 AM
Unknown Object (File)
Thu, Apr 25, 3:34 AM
Unknown Object (File)
Mar 22 2024, 11:32 PM
Unknown Object (File)
Mar 22 2024, 11:32 PM
Unknown Object (File)
Mar 22 2024, 10:29 PM
Subscribers

Details

Summary
  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.

Test Plan

make buildworld on powerpc64*

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45601
Build 42489: arc lint + arc unit