[all-commits] [llvm/llvm-project] 1c2634: [NFC]Rename InstrProf::getFuncName{, orExternalSymb...

Mingming Liu via All-commits all-commits at lists.llvm.org
Wed Oct 4 11:56:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c2634e316f135855e66255e76d2d317fefa0622
      https://github.com/llvm/llvm-project/commit/1c2634e316f135855e66255e76d2d317fefa0622
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2023-10-04 (Wed, 04 Oct 2023)

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

  Log Message:
  -----------
  [NFC]Rename InstrProf::getFuncName{,orExternalSymbol} to getFuncOrValName{,IfDefined} (#68240)

- This function looks up MD5ToNameMap to return a name for a given MD5.
https://github.com/llvm/llvm-project/pull/66825 adds MD5 of global
variable names into this map. So rename methods and update comments




More information about the All-commits mailing list