[PATCH] D149124: [llvm-profdata] ProfileReader cleanup - preparation for MD5 refactoring - 3

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 10 13:39:15 PDT 2023


davidxl added inline comments.


================
Comment at: llvm/lib/ProfileData/SampleProfReader.cpp:900
       }
+    } else if (useMD5()) {
+      for (auto Name : FuncsToUse) {
----------------
Add a comment here to reference to useFunctionOffsetList method to be in sync, or add assert of useFunctionOffsetList() in each branch below.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149124/new/

https://reviews.llvm.org/D149124



More information about the llvm-commits mailing list