We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d73cbe commit 5faf898Copy full SHA for 5faf898
llvm/lib/ProfileData/InstrProfWriter.cpp
@@ -456,6 +456,7 @@ Error InstrProfWriter::writeImpl(ProfOStream &OS) {
456
Header.BinaryIdOffset = 0;
457
Header.TemporalProfTracesOffset = 0;
458
Header.VTableNamesOffset = 0;
459
+ int N = sizeof(IndexedInstrProf::Header) / sizeof(uint64_t);
460
461
// Only write out the first four fields. We need to remember the offset of the
462
// remaining fields to allow back patching later.
0 commit comments