diff options
author | Matt Davis <Matthew.Davis@sony.com> | 2018-07-31 23:37:24 +0000 |
---|---|---|
committer | Matt Davis <Matthew.Davis@sony.com> | 2018-07-31 23:37:24 +0000 |
commit | 788f62fce59ae98f741d0273759227a9bdfaa136 (patch) | |
tree | c02ec978e2a5fa2507ea49d18e7174d93af41636 /.arcconfig | |
parent | 0865368b78480540349ee883fc2bc7f420c4d0ac (diff) |
[compiler-rt] Add a routine to specify the mode used when creating profile dirs.
Summary:
This patch introduces `llvm_profile_set_dir_mode` and `llvm_profile_get_dir_mode` to
the compiler-rt profile API.
Originally, profile data was placed into a directory that was created with a hard-coded
mode value of 0755 (for non-win32 builds). In certain cases, it can be helpful to create
directories with a different mode other than 0755. This patch introduces set/get
routines to allow users to specify a desired mode. The default remains at 0755.
Reviewers: void, probinson
Reviewed By: probinson
Subscribers: probinson, dberris, cfe-commits
Differential Revision: https://reviews.llvm.org/D49953
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@338456 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to '.arcconfig')
0 files changed, 0 insertions, 0 deletions