mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
We need to output the number of records we have, so we know how many to read in! Doh.
llvm-svn: 9555
This commit is contained in:
parent
3d949ca785
commit
40f9932105
@ -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