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

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 24 23:32:09 PDT 2023


davidxl added inline comments.


================
Comment at: llvm/include/llvm/ProfileData/SampleProfReader.h:689
+  /// to determine a cutoff.
+  bool useOrderedFuncOffsets() {
+    return ProfileIsCS || (!useMD5() && Remapper);
----------------
does it need to check the section flag?


================
Comment at: llvm/include/llvm/ProfileData/SampleProfReader.h:808
 
   bool FuncOffsetsOrdered = false;
 
----------------
Is this a dead field?


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