diff options
| author | 2014-12-30 15:38:40 +0100 | |
|---|---|---|
| committer | 2014-12-30 15:38:40 +0100 | |
| commit | d9a6a2e9142ae62fe3deec9a9d31e7dca83a50b2 (patch) | |
| tree | e96e862a5243bda1ea1178902177992d936cfdb9 /makefile | |
| parent | ace2339469e356b27540517bf7ded2bb3ff11b7b (diff) | |
more clarification on disabled UndefinedBehaviorSanitizer checks (nw)
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -599,7 +599,13 @@ endif ifneq (,$(findstring undefined,$(SANITIZE))) ifneq (,$(findstring clang,$(CC))) # TODO: check if linker is clang++ -CCOMFLAGS += -fno-sanitize=alignment -fno-sanitize=function -fno-sanitize=shift -fno-sanitize=vptr -fno-sanitize=object-size +CCOMFLAGS += -fno-sanitize=shift -fno-sanitize=object-size +# produces a lot of messages - disable it for now +CCOMFLAGS += -fno-sanitize=alignment +# these are false positives because of the way our delegates work +CCOMFLAGS += -fno-sanitize=function +# clang takes forever to compile src/emu/cpu/tms57002/tms57002.c, src/emu/cpu/m6809/konami.c, src/emu/cpu/m6809/hd6309.c, src/emu/video/psx.c when this isn't disabled +CCOMFLAGS += -fno-sanitize=vptr # clang takes forever to compile src/emu/video/psx.c when this isn't disabled CCOMFLAGS += -fno-sanitize=null # clang takes forever to compile src/emu/cpu/tms57002/tms57002.c when this isn't disabled |
