[llvm] [StaticDataLayout][PGO] Add profile format for static data layout, and the classes to operate on the profiles. (PR #138170)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue May 6 09:23:22 PDT 2025


================
@@ -357,6 +357,12 @@ void createPGONameMetadata(GlobalObject &GO, StringRef PGOName);
 /// the duplicated profile variables for Comdat functions.
 bool needsComdatForCounter(const GlobalObject &GV, const Module &M);
 
+/// \c NameStrings is a string composed of one of more possibly encoded
+/// sub-strings. The substrings are separated by 0 or more zero bytes. This
----------------
teresajohnson wrote:

maybe "null" bytes? the "0" and "zero" are confusing.

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


More information about the llvm-commits mailing list