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 | 89e8af6d9616ee01b7a669162b0094230d62d701 (patch) | |
tree | 1ce26c81e6484473d77428941a12cada5a6e480b /libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp | |
parent | 96beffba15bce42e086fde5569a67c5bbf4243ee (diff) | |
download | bcm5719-llvm-89e8af6d9616ee01b7a669162b0094230d62d701.tar.gz bcm5719-llvm-89e8af6d9616ee01b7a669162b0094230d62d701.zip |
[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
llvm-svn: 338456
Diffstat (limited to 'libcxx/test/std/depr/depr.c.headers/stdlib_h.pass.cpp')
0 files changed, 0 insertions, 0 deletions