summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfilingRuntime.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingRuntime.cc')
-rw-r--r--compiler-rt/lib/profile/InstrProfilingRuntime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingRuntime.cc b/compiler-rt/lib/profile/InstrProfilingRuntime.cc
index 280de834b4b..081ecb29e98 100644
--- a/compiler-rt/lib/profile/InstrProfilingRuntime.cc
+++ b/compiler-rt/lib/profile/InstrProfilingRuntime.cc
@@ -21,7 +21,7 @@ class RegisterRuntime {
public:
RegisterRuntime() {
__llvm_profile_register_write_file_atexit();
- __llvm_profile_register_write_file();
+ __llvm_profile_initialize_file();
}
};
OpenPOWER on IntegriCloud