summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingRuntime.cc
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-20 19:23:55 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-20 19:23:55 +0000
commit9dc20e221fee7fc576455aca6e139b835cef2cdc (patch)
treeb6bd4e2712105041e83ff7afcce46776bb42ea58 /lib/profile/InstrProfilingRuntime.cc
parentad53c076409f8b6d37de8514b0bcd80432ee342b (diff)
PGO: Update interface for writing instrumentation data to file
__llvm_pgo_write_default_file() was a bad name, since it checked the environment (it wasn't just a default file). - Change __llvm_pgo_write_file() to __llvm_pgo_write_file_with_name() and make it static. - Rename __llvm_pgo_write_default_file() to __llvm_pgo_write_file(). - Add __llvm_pgo_set_filename(), which sets the filename for subsequent calls to __llvm_pgo_write_file(). <rdar://problem/15943240> git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingRuntime.cc')
-rw-r--r--lib/profile/InstrProfilingRuntime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/InstrProfilingRuntime.cc b/lib/profile/InstrProfilingRuntime.cc
index e6ef4c941..c493bf74a 100644
--- a/lib/profile/InstrProfilingRuntime.cc
+++ b/lib/profile/InstrProfilingRuntime.cc
@@ -20,7 +20,7 @@ namespace {
class RegisterAtExit {
public:
- RegisterAtExit() { __llvm_pgo_register_write_atexit(); }
+ RegisterAtExit() { __llvm_pgo_register_write_file_atexit(); }
};
RegisterAtExit Registration;