[clang] [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 cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 21 16:16:51 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 =
+ // This is to assume counter size is a multiple of 8 bytes.
+ // uint64_t NamesSize = Header->NamesSize;
----------------
david-xl wrote:
redundant comment lines.
https://github.com/llvm/llvm-project/pull/66825
More information about the cfe-commits
mailing list