This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Diff 9 - 1 - Properly use unsigned for Process ID.
ClosedPublic

Authored by mpividori on Nov 30 2016, 1:38 PM.

Details

Summary

According to amccarth's suggestions in: https://reviews.llvm.org/D27234#inline-234114

For process id, I use a long unsigned to be sure it can hold a 32 bit unsigned (DWORD).

Diff Detail

Repository
rL LLVM

Event Timeline

mpividori updated this revision to Diff 79804.Nov 30 2016, 1:38 PM
mpividori retitled this revision from to [libFuzzer] Diff 9 - Properly use unsigned for "workers" and "jobs" flags, and process id..
mpividori updated this object.
mpividori added reviewers: amccarth, kcc, zturner.
mpividori set the repository for this revision to rL LLVM.
mpividori added a subscriber: llvm-commits.
amccarth accepted this revision.Nov 30 2016, 4:50 PM
amccarth edited edge metadata.

The Windows bits look good to me know. Thanks for those revisions.

This revision is now accepted and ready to land.Nov 30 2016, 4:50 PM

@kcc Do you agree with these changes?

kcc edited edge metadata.Dec 12 2016, 11:04 AM

what problem does this fix?
If it fixes some existing problem, is a test possible?

kcc added a comment.Dec 12 2016, 11:54 AM

This patch contain two independent changes then, right?
Please either split the patch, or abandon the non-relevant parts (jobs, workers).

mpividori updated this revision to Diff 81129.Dec 12 2016, 1:06 PM
mpividori retitled this revision from [libFuzzer] Diff 9 - Properly use unsigned for "workers" and "jobs" flags, and process id. to [libFuzzer] Diff 9 - 1 - Properly use unsigned for Process ID..
mpividori updated this object.
mpividori edited edge metadata.

@kcc Ok. I updated the diff and Revision title to include the changes related to the Process ID.

kcc accepted this revision.Dec 12 2016, 1:09 PM
kcc edited edge metadata.

LGTM

This revision was automatically updated to reflect the committed changes.