Skip to content

Commit abd6ebf

Browse files
authored
No assert
1 parent 74d5264 commit abd6ebf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/ProfileData/SampleProf.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,6 @@ std::error_code ProfileSymbolList::read(const uint8_t *Data,
420420
StrNum++;
421421
}
422422

423-
assert(ExpectedCount == StrNum);
424-
425423
if (Size != ListSize && StrNum != ProfileSymbolListCutOff)
426424
return sampleprof_error::malformed;
427425
return sampleprof_error::success;

0 commit comments

Comments
 (0)