diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-04 16:51:47 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-05-04 16:51:47 +0000 |
commit | 9fa49c8906e08296548e0ee0c8c9c5852781684a (patch) | |
tree | 01fed88c5797b0cdde69b7f76994c1592ce4b5ec /runtime | |
parent | 40114b780b1f1243e5b4dcc45e6685b3c77d3b32 (diff) | |
download | external_llvm-9fa49c8906e08296548e0ee0c8c9c5852781684a.zip external_llvm-9fa49c8906e08296548e0ee0c8c9c5852781684a.tar.gz external_llvm-9fa49c8906e08296548e0ee0c8c9c5852781684a.tar.bz2 |
Constants for profile info type changed names to match the C++ ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/libprofile/BasicBlockTracing.c | 2 | ||||
-rw-r--r-- | runtime/libprofile/CommonProfiling.c | 2 | ||||
-rw-r--r-- | runtime/libprofile/FunctionProfiling.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/runtime/libprofile/BasicBlockTracing.c b/runtime/libprofile/BasicBlockTracing.c index 0013633..e70dc05 100644 --- a/runtime/libprofile/BasicBlockTracing.c +++ b/runtime/libprofile/BasicBlockTracing.c @@ -23,7 +23,7 @@ static unsigned *ArrayStart, *ArrayEnd, *ArrayCursor; * 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; } diff --git a/runtime/libprofile/CommonProfiling.c b/runtime/libprofile/CommonProfiling.c index aeb9c60..16bd9bd 100644 --- a/runtime/libprofile/CommonProfiling.c +++ b/runtime/libprofile/CommonProfiling.c @@ -99,7 +99,7 @@ void write_profiling_data(enum ProfilingType PT, unsigned *Start, /* 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)); diff --git a/runtime/libprofile/FunctionProfiling.c b/runtime/libprofile/FunctionProfiling.c index 5f9c4f2..d030053 100644 --- a/runtime/libprofile/FunctionProfiling.c +++ b/runtime/libprofile/FunctionProfiling.c @@ -25,7 +25,7 @@ static unsigned NumElements; static void FuncProfAtExitHandler() { /* Just write out the data we collected. */ - write_profiling_data(Function, ArrayStart, NumElements); + write_profiling_data(FunctionInfo, ArrayStart, NumElements); } |