|*
|* The LLVM Compiler Infrastructure
|*
-|* This file was developed by the LLVM research group and is distributed under
-|* the University of Illinois Open Source License. See LICENSE.TXT for details.
+|* This file is distributed under the University of Illinois Open Source
+|* License. See LICENSE.TXT for details.
|*
|*===----------------------------------------------------------------------===*|
|*
* 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;
}
/* BBTraceAtExitHandler - When the program exits, just write out any remaining
* data and free the trace buffer.
*/
-static void BBTraceAtExitHandler() {
+static void BBTraceAtExitHandler(void) {
WriteAndFlushBBTraceData ();
free (ArrayStart);
}