[compiler-rt] [llvm] [InstrProf] Add vtables with type metadata into symtab (PR #81051)

Mingming Liu via llvm-commits llvm-commits at lists.llvm.org
Wed May 8 13:52:26 PDT 2024


================
@@ -494,6 +498,14 @@ class InstrProfSymtab {
   // - In MD5FuncMap: <MD5Hash(name), &F> for name in name-set
   Error addFuncWithName(Function &F, StringRef PGOFuncName);
 
+  // Add the vtable into the symbol table, by creating the following
+  // map entries:
+  // name-set = {PGOName} + {getCanonicalName(PGOName)} if the canonical name
----------------
minglotus-6 wrote:

done.

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


More information about the llvm-commits mailing list