[llvm] [NFC]Rename collectPGOFuncNameStrings to collectGlobalObjectNameStrings (PR #70287)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 22:21:30 PDT 2023


================
@@ -220,17 +220,17 @@ StringRef getPGOFuncNameVarInitializer(GlobalVariable *NameVar);
 StringRef getFuncNameWithoutPrefix(StringRef PGOFuncName,
                                    StringRef FileName = "<unknown>");
 
-/// Given a vector of strings (function PGO names) \c NameStrs, the
-/// method generates a combined string \c Result that is ready to be
+/// Given a vector of strings (names of global variables) \c NameStrs,
----------------
minglotus-6 wrote:

> variable --> object

done.

https://github.com/llvm/llvm-project/pull/70287


More information about the llvm-commits mailing list