[llvm-commits] CVS: llvm/runtime/libprofile/CommonProfiling.c BasicBlockTracing.c FunctionProfiling.c
Brian Gaeke
gaeke at cs.uiuc.edu
Tue May 4 11:52:04 PDT 2004
Changes in directory llvm/runtime/libprofile:
CommonProfiling.c updated: 1.6 -> 1.7
BasicBlockTracing.c updated: 1.1 -> 1.2
FunctionProfiling.c updated: 1.2 -> 1.3
---
Log message:
Constants for profile info type changed names to match the C++ ones.
---
Diffs of the changes: (+3 -3)
Index: llvm/runtime/libprofile/CommonProfiling.c
diff -u llvm/runtime/libprofile/CommonProfiling.c:1.6 llvm/runtime/libprofile/CommonProfiling.c:1.7
--- llvm/runtime/libprofile/CommonProfiling.c:1.6 Tue Feb 10 13:14:44 2004
+++ llvm/runtime/libprofile/CommonProfiling.c Tue May 4 11:51:47 2004
@@ -99,7 +99,7 @@
/* Output the command line arguments to the file. */
{
- int PTy = Arguments;
+ int PTy = ArgumentInfo;
int Zeros = 0;
write(OutFile, &PTy, sizeof(int));
write(OutFile, &SavedArgsLength, sizeof(unsigned));
Index: llvm/runtime/libprofile/BasicBlockTracing.c
diff -u llvm/runtime/libprofile/BasicBlockTracing.c:1.1 llvm/runtime/libprofile/BasicBlockTracing.c:1.2
--- llvm/runtime/libprofile/BasicBlockTracing.c:1.1 Mon May 3 18:51:50 2004
+++ llvm/runtime/libprofile/BasicBlockTracing.c Tue May 4 11:51:47 2004
@@ -23,7 +23,7 @@
* and reset the cursor to point to the beginning of the buffer.
*/
static void WriteAndFlushBBTraceData () {
- write_profiling_data(BBTrace, ArrayStart, (ArrayCursor - ArrayStart));
+ write_profiling_data(BBTraceInfo, ArrayStart, (ArrayCursor - ArrayStart));
ArrayCursor = ArrayStart;
}
Index: llvm/runtime/libprofile/FunctionProfiling.c
diff -u llvm/runtime/libprofile/FunctionProfiling.c:1.2 llvm/runtime/libprofile/FunctionProfiling.c:1.3
--- llvm/runtime/libprofile/FunctionProfiling.c:1.2 Tue Feb 10 11:36:25 2004
+++ llvm/runtime/libprofile/FunctionProfiling.c Tue May 4 11:51:47 2004
@@ -25,7 +25,7 @@
static void FuncProfAtExitHandler() {
/* Just write out the data we collected.
*/
- write_profiling_data(Function, ArrayStart, NumElements);
+ write_profiling_data(FunctionInfo, ArrayStart, NumElements);
}
More information about the llvm-commits
mailing list