[compiler-rt] [llvm] [TypeProf][InstrPGO] Introduce raw and instr profile format change for type profiling. (PR #81691)
Snehasish Kumar via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 13:52:43 PST 2024
================
@@ -604,6 +607,31 @@ Error InstrProfWriter::writeImpl(ProfOStream &OS) {
OS.writeByte(0);
}
+ uint64_t VTableNamesSectionStart = OS.tell();
+
+ // Use an empty string as compressed vtable names and get the necessary
+ // profile format change in place for version 12.
+ // TODO: Store the list of vtable names in InstrProfWriter and use the
+ // real compressed name.
+ std::string CompressedVTableNames;
----------------
snehasish wrote:
Prefer using a dummy string, a lot of the code below will behave differently e.g. the for loop and the padding loop wont execute at all as far as I can tell.
https://github.com/llvm/llvm-project/pull/81691
More information about the llvm-commits
mailing list