diff options
author | Xinliang David Li <davidxl@google.com> | 2016-05-18 22:34:05 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-05-18 22:34:05 +0000 |
commit | de5642725495b7bef5dfa0c45139a509a8174564 (patch) | |
tree | 9e97376f5c0c8f9b18adf566de92c0f60808d000 /lib/profile/InstrProfilingFile.c | |
parent | a7c01c6b9c446ee27b17735c3d07a564a16e0a7e (diff) |
[profile] Allow max vals per site to be controllable at runtime
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@269993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingFile.c')
-rw-r--r-- | lib/profile/InstrProfilingFile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/profile/InstrProfilingFile.c b/lib/profile/InstrProfilingFile.c index 1e754017c..f18a48507 100644 --- a/lib/profile/InstrProfilingFile.c +++ b/lib/profile/InstrProfilingFile.c @@ -254,6 +254,8 @@ int __llvm_profile_register_write_file_atexit(void) { if (HasBeenRegistered) return 0; + lprofSetupValueProfiler(); + HasBeenRegistered = 1; return atexit(writeFileWithoutReturn); } |