From d967182fa7791d4f031a2435b077de48f53327bd Mon Sep 17 00:00:00 2001 From: Oliver Stöneberg Date: Thu, 23 Oct 2014 09:58:45 +0200 Subject: enabled some more ubsan checks (nw) --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index d5fe0526403..0c7aac71a64 100644 --- a/makefile +++ b/makefile @@ -598,7 +598,9 @@ 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=null -fno-sanitize=signed-integer-overflow -fno-sanitize=vptr -fno-sanitize=float-cast-overflow -fno-sanitize=integer-divide-by-zero -fno-sanitize=float-divide-by-zero -fno-sanitize=object-size +CCOMFLAGS += -fno-sanitize=alignment -fno-sanitize=function -fno-sanitize=shift -fno-sanitize=null -fno-sanitize=vptr -fno-sanitize=object-size +# clang takes forever to compile src/emu/cpu/tms57002/tms57002.c when this isn't disabled +CCOMFLAGS += -fno-sanitize=signed-integer-overflow endif endif endif -- cgit v1.2.3