diff options
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingRuntime.cpp')
-rw-r--r-- | compiler-rt/lib/profile/InstrProfilingRuntime.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingRuntime.cpp b/compiler-rt/lib/profile/InstrProfilingRuntime.cpp index 5dff09d70632..4ea2bb263f5a 100644 --- a/compiler-rt/lib/profile/InstrProfilingRuntime.cpp +++ b/compiler-rt/lib/profile/InstrProfilingRuntime.cpp @@ -19,9 +19,7 @@ namespace { class RegisterRuntime { public: RegisterRuntime() { - __llvm_profile_initialize_file(); - if (!__llvm_profile_is_continuous_mode_enabled()) - __llvm_profile_register_write_file_atexit(); + __llvm_profile_initialize(); } }; |