mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 21:50:40 +00:00
We need to output the number of records we have, so we know how many to read in! Doh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9555 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
759c3ed4d6
commit
98b1d8115e
@ -78,5 +78,6 @@ void write_profiling_data(enum ProfilingType PT, unsigned *Start,
|
||||
/* Write out this record! */
|
||||
PTy = PT;
|
||||
write(OutFile, &PTy, sizeof(int));
|
||||
write(OutFile, &NumElements, sizeof(unsigned));
|
||||
write(OutFile, Start, NumElements*sizeof(unsigned));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user