Commit 16ce8b1a authored by Janne Grunau's avatar Janne Grunau Committed by Jean-Baptiste Kempf

meson: prevent memory sanitizer builds with asm

For example in dav1d_cdef_brow_{8,10}bpc memory sanitizer can not track
that variance is initilized by dsp->cdef.dir() it is implemented by in
asm.
parent d4fcb70d
......@@ -66,6 +66,9 @@ is_asm_enabled = (get_option('build_asm') == true and
host_machine.cpu_family().startswith('arm'))
cdata.set10('HAVE_ASM', is_asm_enabled)
if is_asm_enabled and get_option('b_sanitize') == 'memory'
error('asm causes false positive with memory sanitizer. Use \'-Dbuild_asm=false\'.')
endif
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment