summaryrefslogtreecommitdiff
path: root/lib/profile/InstrProfilingUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/profile/InstrProfilingUtil.h')
-rw-r--r--lib/profile/InstrProfilingUtil.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/profile/InstrProfilingUtil.h b/lib/profile/InstrProfilingUtil.h
index 2f2ea1b87..147677fc8 100644
--- a/lib/profile/InstrProfilingUtil.h
+++ b/lib/profile/InstrProfilingUtil.h
@@ -16,6 +16,12 @@
/*! \brief Create a directory tree. */
void __llvm_profile_recursive_mkdir(char *Pathname);
+/*! Set the mode used when creating profile directories. */
+void __llvm_profile_set_dir_mode(unsigned Mode);
+
+/*! Return the directory creation mode. */
+unsigned __llvm_profile_get_dir_mode(void);
+
int lprofLockFd(int fd);
int lprofUnlockFd(int fd);