Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8f1c756 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Disable stack-depth" into main am: 60bb7b0d

parents 2d67d0d2 60bb7b0d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -355,6 +355,12 @@ ifneq ($(filter fuzzer,$(my_sanitize)),)
  my_sanitize := $(filter-out cfi,$(my_sanitize))
  my_cflags += -fno-lto
  my_ldflags += -fno-lto

  # TODO(b/142430592): Upstream linker scripts for sanitizer runtime libraries
  # discard the sancov_lowest_stack symbol, because it's emulated TLS (and thus
  # doesn't match the linker script due to the "__emutls_v." prefix).
  my_cflags += -fno-sanitize-coverage=stack-depth
  my_ldflags += -fno-sanitize-coverage=stack-depth
endif

ifneq ($(filter integer_overflow,$(my_sanitize)),)