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