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

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue May 6 09:56:52 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
----------------
kazutakahirata wrote:

```suggestion
/// \c NameStrings is a string composed of one or more possibly encoded
```

Do you mean `or` here?  (Yes, I understand that you've copied this from elsewhere.)

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


More information about the llvm-commits mailing list