This is a followup of https://reviews.llvm.org/D66513. I just realize I should put the code calling each section reader into a separate function (I name it addOneSection), so SampleProfileExtBinaryReader can override it. Otherwise, the base class SampleProfileExtBinaryBaseReader will need to be aware of all different kinds of section readers. That is not right.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo