[llvm] [InstrProf]Merge vtable names from multiple sources in llvm-profdata (PR #90100)
David Li via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 14:34:08 PDT 2024
================
@@ -385,6 +385,9 @@ void InstrProfWriter::mergeRecordsFromWriter(InstrProfWriter &&IPW,
for (auto &I : IPW.BinaryIds)
addBinaryIds(I);
+ for (auto& kv: IPW.VTableNames)
+ addVTableName(kv.getKey());
----------------
david-xl wrote:
should we catch inconsistency here instead?
https://github.com/llvm/llvm-project/pull/90100
More information about the llvm-commits
mailing list