diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-01-14 00:28:55 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-01-14 00:29:58 +0000 |
commit | 9fc131426694387dda365c8624ddc85cb567d727 (patch) | |
tree | 110047ed1a69a5098310f56f72ffa39afa581908 /lib/libclang_rt | |
parent | e1ef6c0ef256f797d629b9490db3f0034b28ae43 (diff) | |
download | src-9fc131426694387dda365c8624ddc85cb567d727.tar.gz src-9fc131426694387dda365c8624ddc85cb567d727.zip |
riscv64: enable ASAN and UBSAN
Differential review: https://reviews.freebsd.org/D33875
Approved by: dim, imp
Diffstat (limited to 'lib/libclang_rt')
-rw-r--r-- | lib/libclang_rt/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
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= |