Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2022 12:28:13 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 8c56b338da74 - stable/13 - riscv64: enable ASAN and UBSAN
Message-ID:  <202202081228.218CSDkS093907@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by pkubaj (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=8c56b338da744b174f31809c4514e06350bf6360

commit 8c56b338da744b174f31809c4514e06350bf6360
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-01-14 00:28:55 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-02-08 12:26:03 +0000

    riscv64: enable ASAN and UBSAN
    
    Differential review:    https://reviews.freebsd.org/D33875
    Approved by:    dim, imp
    
    (cherry picked from commit 9fc131426694387dda365c8624ddc85cb567d727)
---
 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202081228.218CSDkS093907>