[all-commits] [llvm/llvm-project] 05091a: [NFC][InstrProf]Generalize getParsedIRPGOFuncName ...

Mingming Liu via All-commits all-commits at lists.llvm.org
Wed Feb 7 20:03:55 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05091aa3ac53a13d08c78882c0c2035e58a1b4c4
      https://github.com/llvm/llvm-project/commit/05091aa3ac53a13d08c78882c0c2035e58a1b4c4
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/tools/llvm-profdata/llvm-profdata.cpp
    M llvm/unittests/ProfileData/InstrProfTest.cpp

  Log Message:
  -----------
  [NFC][InstrProf]Generalize getParsedIRPGOFuncName to getParsedIRPGOName (#81054)

- Function getParsedIRPGOFuncName splits name by delimiter. The `[filename;]mangled-name` format could be generalized for non-function global values (e.g., vtables for type profiling). So rename the
function.
- Use kGlobalIdentifierDelimiter rather than semicolon directly for defragmentation.




More information about the All-commits mailing list