summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/libprofile/BasicBlockTracing.c
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/runtime/libprofile/BasicBlockTracing.c')
-rw-r--r--llvm/runtime/libprofile/BasicBlockTracing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/runtime/libprofile/BasicBlockTracing.c b/llvm/runtime/libprofile/BasicBlockTracing.c
index 00136330212..e70dc052843 100644
--- a/llvm/runtime/libprofile/BasicBlockTracing.c
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud