mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
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
This commit is contained in:
parent
40114b780b
commit
9fa49c8906
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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));
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user