[compiler-rt] [IRPGO][ValueProfile] Instrument virtual table address that could be used to do virtual table address comparision for indirect-call-promotion. (PR #66825)
David Li via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 9 11:12:42 PDT 2023
================
@@ -124,9 +124,27 @@ int __llvm_profile_merge_from_buffer(const char *ProfileData,
SrcCountersEnd = SrcCountersStart +
Header->NumCounters * __llvm_profile_counter_entry_size();
SrcNameStart = SrcCountersEnd;
- SrcValueProfDataStart =
+
+ // Skip vtable profile data section and vtable names sections for runtime
----------------
david-xl wrote:
define a helper function to compute ValueDataStart address.
https://github.com/llvm/llvm-project/pull/66825
More information about the llvm-commits
mailing list