mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
more clarification on disabled UndefinedBehaviorSanitizer checks (nw)
This commit is contained in:
parent
ace2339469
commit
d9a6a2e914
8
makefile
8
makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user