summaryrefslogtreecommitdiff
path: root/rust/builder.go
diff options
context:
space:
mode:
author Pirama Arumuga Nainar <pirama@google.com> 2020-12-10 10:45:33 -0800
committer Pirama Arumuga Nainar <pirama@google.com> 2020-12-10 21:45:34 +0000
commit9464b6cc6c1ca5e91be669ffed680970fc844d21 (patch)
treedf5310dfc07b080a14a65dd5e7cf90ec96ef1200 /rust/builder.go
parent35989ae98b49cb51d3c9437459d02025683d5765 (diff)
[coverage] Wrap calls to open
Bug: http://b/173448692 The coverage runtime creates files with uga+rw permissions but an earlier umask call can restrict these and cause problems with profile merging ('%Nm' in LLVM_PROFILE_FILE). This change passes `--wrap,open` to coverage builds. The other change in this topic adds the wrapper function to set the permissions again using `fchmod` (only for files opened under /data/misc/trace). Test: Manually validate permissions of files under /data/misc/trace. Test: libprofile-clang-extras-test Change-Id: I881474ab184d03d14c5637951aac027a363739b6
Diffstat (limited to 'rust/builder.go')
0 files changed, 0 insertions, 0 deletions