From 48144afaea3e3280b5757a5df078024dc365dfaa Mon Sep 17 00:00:00 2001 From: Dhruv Chawla Date: Fri, 30 Jan 2026 01:25:20 -0800 Subject: [PATCH] Fix incorrect assertion from #251 I forgot to remove this assert as it was not compiled in Release mode. --- profile_writer.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/profile_writer.cc b/profile_writer.cc index c45d0a8..8482642 100644 --- a/profile_writer.cc +++ b/profile_writer.cc @@ -158,7 +158,6 @@ void AutoFDOProfileWriter::WriteFunctionProfile() { // Write out the GCOV_TAG_AFDO_SUMMARY section. if (absl::GetFlag(FLAGS_gcov_version) >= 3) { - assert(summary != nullptr); ProfileSummaryInformation info = ProfileSummaryComputer::Compute( *symbol_map_, {std::begin(ProfileSummaryInformation::default_cutoffs), std::end(ProfileSummaryInformation::default_cutoffs)});