[compiler-rt] [clang] [clang-tools-extra] [llvm] [PGO][GlobalValue][LTO]In GlobalValues::getGlobalIdentifier, use semicolon as delimiter for local-linkage varibles. (PR #74008)

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 11 19:52:42 PST 2023


================
@@ -352,6 +366,8 @@ std::string getIRPGOFuncName(const Function &F, bool InLTO) {
   return getIRPGOObjectName(F, InLTO, getPGOFuncNameMetadata(F));
 }
 
+// DEPRECATED. Use `getIRPGOFuncName`for new code. See that function for
----------------
teresajohnson wrote:

In the header it is described as for FE instrumentation. Probably want the comments to be consistent?

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


More information about the cfe-commits mailing list