msan-builder: suppress pixman false positive

This commit is contained in:
Oliver Chang 2018-02-27 15:12:16 +11:00
parent e350c6c0f3
commit d8ae2e3851
2 changed files with 8 additions and 0 deletions

View File

@ -33,3 +33,10 @@ class Package(package.Package):
'sed s/support_for_gcc_vector_extensions=yes/'
'support_for_gcc_vector_extensions=no/ -i %s/configure.ac' %
source_directory)
def PreBuild(self, source_directory, env, custom_bin_dir):
blacklist_flag = ' -fsanitize-blacklist=' + os.path.join(
os.path.dirname(os.path.abspath(__file__)),
'pixman_blacklist.txt')
env['DEB_CXXFLAGS_APPEND'] += blacklist_flag
env['DEB_CFLAGS_APPEND'] += blacklist_flag

View File

@ -0,0 +1 @@
src:pixman-sse2.c