[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 13:04:15 PST 2017
xur updated this revision to Diff 88595.
xur added a comment.
Add a testcase
sing a fake count section to increase the profile size.
Main process gets to profile run-time first and dump the profile.
It will then exit when child process writes the profile.
Without this patch, there is a high chance of getting 0 size profile.
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.88595.patch
Type: text/x-patch
Size: 3611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170215/f3484dcb/attachment.bin>
More information about the llvm-commits
mailing list