[compiler-rt] [IRPGO][ValueProfile] Instrument virtual table address that could be used to do virtual table address comparision for indirect-call-promotion. (PR #66825)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 20 14:49:38 PDT 2023
================
@@ -473,6 +485,26 @@ Error InstrProfSymtab::addFuncWithName(Function &F, StringRef PGOFuncName) {
return Error::success();
}
+uint64_t InstrProfSymtab::getVTableHashFromAddress(uint64_t Address) {
+ finalizeSymtab();
+ // printf("look up key 0x%llx\n", Address);
----------------
modiking wrote:
Clean up commented out debug code here and in other places
https://github.com/llvm/llvm-project/pull/66825
More information about the llvm-commits
mailing list