[all-commits] [llvm/llvm-project] bb642f: [NFC][InstrProf]Refactor readPGOFuncNameStrings (#...

Mingming Liu via All-commits all-commits at lists.llvm.org
Thu Nov 9 10:47:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb642f8b941293b24ccd7895358f08abc63a9051
      https://github.com/llvm/llvm-project/commit/bb642f8b941293b24ccd7895358f08abc63a9051
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/ProfileData/InstrProf.cpp

  Log Message:
  -----------
  [NFC][InstrProf]Refactor readPGOFuncNameStrings (#71566)

Refactor this function to take a callback for each decoded string, rename it and change it to a static function in cpp. Move its (sole) caller definition from header to cpp.
- This is a split of patch https://github.com/llvm/llvm-project/pull/66825; to minimize the diff created in a big PR.




More information about the All-commits mailing list