[PATCH] D29954: [PGO] Suspend SIGKILL for PR_SET_PDEATHSIG in profile-write
Rong Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 15 15:29:49 PST 2017
xur updated this revision to Diff 88616.
xur added a comment.
Integrated David's review comments.
An addition change is the adding of 'sleep 5' b/w run and llvm-profdata
because if we run llvm-profdata immediately after. It's possible to get a
0-size files as it's being truncated by the child process (ie. the main
process exit while the child process is still accessing the file).
https://reviews.llvm.org/D29954
Files:
lib/profile/InstrProfilingFile.c
lib/profile/InstrProfilingUtil.c
lib/profile/InstrProfilingUtil.h
test/profile/Linux/prctl.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29954.88616.patch
Type: text/x-patch
Size: 3559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170215/9bf1ce05/attachment.bin>
More information about the llvm-commits
mailing list