Not all targets support by clang have a tested or enabled ubsan yet.
Only enable h_raw on x86 targets for today so that a buildworld runs to completion for clang enabled targets that are not x86. This should be removed when validation of the sanitizer has occured for all targets supported by FreeBSD and clang.
This commit is contained in:
parent
b93e62f3e6
commit
7638b73597
@ -30,11 +30,15 @@ PROGS+= h_memset
|
||||
# XXX: the h_raw/h_read testcases don't cause a SIGABRT with in-tree gcc right
|
||||
# now on amd64 when it trips the stack bounds specified in t_ssp.sh . This
|
||||
# probably needs to be fixed as it's currently hardcoded.
|
||||
#
|
||||
# sanitizer is not tested or supported for ARM right now. sbruno
|
||||
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
|
||||
.if ${COMPILER_TYPE} == "clang"
|
||||
.if ${COMPILER_VERSION} < 30500 || 30700 <= ${COMPILER_VERSION}
|
||||
PROGS+= h_raw
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
PROGS+= h_read
|
||||
PROGS+= h_readlink
|
||||
PROGS+= h_snprintf
|
||||
|
Loading…
x
Reference in New Issue
Block a user