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

Commit d30fcb15 authored by Evgenii Stepanov's avatar Evgenii Stepanov Committed by Gerrit Code Review
Browse files

Merge "Revert "Disable ubsan diagnostics under HWASan.""

parents 51df3869 4f415360
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -539,11 +539,6 @@ func (sanitize *sanitize) begin(ctx BaseModuleContext) {
	if Bool(s.Hwaddress) {
		s.Address = nil
		s.Thread = nil
		// Disable ubsan diagnosic as a workaround for a compiler bug.
		// TODO(b/191808836): re-enable.
		s.Diag.Undefined = nil
		s.Diag.Integer_overflow = nil
		s.Diag.Misc_undefined = nil
	}

	// TODO(b/131771163): CFI transiently depends on LTO, and thus Fuzzer is