[llvm-commits] CVS: llvm/runtime/libprofile/CommonProfiling.c
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 28 13:37:02 PST 2003
Changes in directory llvm/runtime/libprofile:
CommonProfiling.c updated: 1.1 -> 1.2
---
Log message:
We need to output the number of records we have, so we know how many to read in! Doh.
---
Diffs of the changes: (+1 -0)
Index: llvm/runtime/libprofile/CommonProfiling.c
diff -u llvm/runtime/libprofile/CommonProfiling.c:1.1 llvm/runtime/libprofile/CommonProfiling.c:1.2
--- llvm/runtime/libprofile/CommonProfiling.c:1.1 Tue Oct 28 12:56:51 2003
+++ llvm/runtime/libprofile/CommonProfiling.c Tue Oct 28 13:35:56 2003
@@ -78,5 +78,6 @@
/* Write out this record! */
PTy = PT;
write(OutFile, &PTy, sizeof(int));
+ write(OutFile, &NumElements, sizeof(unsigned));
write(OutFile, Start, NumElements*sizeof(unsigned));
}
More information about the llvm-commits
mailing list