File: bootstrap-ubsan.mk

package info (click to toggle)
gdb 8.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 221,556 kB
  • sloc: ansic: 1,935,903; asm: 341,756; exp: 146,495; makefile: 56,747; sh: 23,776; cpp: 20,830; yacc: 12,914; perl: 5,331; ada: 4,977; python: 4,617; xml: 4,176; pascal: 3,134; lisp: 1,527; cs: 879; lex: 620; f90: 479; sed: 228; awk: 140; objc: 134; fortran: 43
file content (8 lines) | stat: -rw-r--r-- 430 bytes parent folder | download | duplicates (39)
1
2
3
4
5
6
7
8
# This option enables -fsanitize=undefined for stage2 and stage3.

STAGE2_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP
STAGE3_CFLAGS += -fsanitize=undefined -DUBSAN_BOOTSTRAP
POSTSTAGE1_LDFLAGS += -fsanitize=undefined -static-libubsan -DUBSAN_BOOTSTRAP \
		      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ \
		      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/ \
		      -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/ubsan/.libs