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

David Li via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 25 21:42:59 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,
----------------
david-xl wrote:

variable --> object

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


More information about the llvm-commits mailing list