diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 18:07:21 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 18:07:21 +0000 |
commit | 51511c01aa9542450f5b0a52a2c2340d05c6c528 (patch) | |
tree | b31889559451cd4e626ee7f2611892a7ec9e4d1f /contrib/compiler-rt/lib/profile/InstrProfilingUtil.h | |
parent | 001571757a996eb123a8568a0c53eee4108efda6 (diff) | |
parent | 005b7ed8f76756d94ef6266ded755ab7863cb936 (diff) |
Merge compiler-rt trunk r338150 (just before the 7.0.0 branch point),
and resolve conflicts.
Notes
Notes:
svn path=/projects/clang700-import/; revision=337154
Diffstat (limited to 'contrib/compiler-rt/lib/profile/InstrProfilingUtil.h')
-rw-r--r-- | contrib/compiler-rt/lib/profile/InstrProfilingUtil.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/compiler-rt/lib/profile/InstrProfilingUtil.h b/contrib/compiler-rt/lib/profile/InstrProfilingUtil.h index 2f2ea1b876a8..147677fc8700 100644 --- a/contrib/compiler-rt/lib/profile/InstrProfilingUtil.h +++ b/contrib/compiler-rt/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); |