summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfilingExtras.h
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-21 18:29:15 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-03-21 18:29:15 +0000
commitbe0a5e176b6cadae34b14a7efac7eae2d918cfb6 (patch)
tree585c0ec1ada6e845167029fa5ec7e388a0bc22c7 /compiler-rt/lib/profile/InstrProfilingExtras.h
parent24b4b6533925e6dbd0faef7976c7f794499e0ec6 (diff)
downloadbcm5719-llvm-be0a5e176b6cadae34b14a7efac7eae2d918cfb6.tar.gz
bcm5719-llvm-be0a5e176b6cadae34b14a7efac7eae2d918cfb6.zip
InstrProf: Reorganize files; no functionality change
Move functions around to prepare for some other changes. - Merge InstrProfilingExtras.h with InstrProfiling.h. There's no benefit to having these split. - Rename InstrProfilingExtras.c to InstrProfilingFile.c. - Split actual buffer writing code out of InstrProfiling.c into InstrProfilingBuffer.c. - Drive-by corrections of a couple of header comments. <rdar://problem/15943240> llvm-svn: 204497
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingExtras.h')
-rw-r--r--compiler-rt/lib/profile/InstrProfilingExtras.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingExtras.h b/compiler-rt/lib/profile/InstrProfilingExtras.h
deleted file mode 100644
index 1ab90cc873f..00000000000
--- a/compiler-rt/lib/profile/InstrProfilingExtras.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*===- InstrProfilingExtras.h - Support library for PGO instrumentation ---===*\
-|*
-|* The LLVM Compiler Infrastructure
-|*
-|* This file is distributed under the University of Illinois Open Source
-|* License. See LICENSE.TXT for details.
-|*
-\*===----------------------------------------------------------------------===*/
-
-/*!
- * \brief Write instrumentation data to the current file.
- *
- * Writes to the file with the last name given to \a __llvm_profile_set_filename(),
- * or if it hasn't been called, the \c LLVM_PROFILE_FILE environment variable,
- * or if that's not set, \c "default.profdata".
- */
-int __llvm_profile_write_file(void);
-
-/*!
- * \brief Set the filename for writing instrumentation data.
- *
- * Sets the filename to be used for subsequent calls to
- * \a __llvm_profile_write_file().
- *
- * \c Name is not copied, so it must remain valid. Passing NULL resets the
- * filename logic to the default behaviour.
- */
-void __llvm_profile_set_filename(const char *Name);
-
-/*! \brief Register to write instrumentation data to file at exit. */
-int __llvm_profile_register_write_file_atexit(void);
OpenPOWER on IntegriCloud