git: 9fc131426694 - main - riscv64: enable ASAN and UBSAN
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Jan 2022 00:30:07 UTC
The branch main has been updated by pkubaj (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=9fc131426694387dda365c8624ddc85cb567d727 commit 9fc131426694387dda365c8624ddc85cb567d727 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-01-14 00:28:55 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-01-14 00:29:58 +0000 riscv64: enable ASAN and UBSAN Differential review: https://reviews.freebsd.org/D33875 Approved by: dim, imp --- lib/libclang_rt/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/libclang_rt/Makefile b/lib/libclang_rt/Makefile index c1c72299bdf7..ca0796b0e65d 100644 --- a/lib/libclang_rt/Makefile +++ b/lib/libclang_rt/Makefile @@ -30,6 +30,16 @@ SUBDIR+= xray-fdr SUBDIR+= xray-profiling .endif # amd64 +.if ${MACHINE_CPUARCH} == "riscv" +SUBDIR+= asan +SUBDIR+= asan-preinit +SUBDIR+= asan_cxx +SUBDIR+= asan_dynamic +SUBDIR+= ubsan_minimal +SUBDIR+= ubsan_standalone +SUBDIR+= ubsan_standalone_cxx +.endif # riscv + SUBDIR+= profile SUBDIR_PARALLEL=