This is an archive of the discontinued LLVM Phabricator instance.

[libFuzzer] Diff 36 - [FuzzerSupport] Move functions from FuzzerUtil to FuzzerSupport lib.
AbandonedPublic

Authored by mpividori on Dec 19 2016, 2:06 PM.

Details

Summary

I move some functions from FuzzerUtil to the LLVMFuzzerSupport library.

Diff Detail

Repository
rL LLVM

Event Timeline

mpividori updated this revision to Diff 82008.Dec 19 2016, 2:06 PM
mpividori retitled this revision from to [libFuzzer] Diff 36 - [FuzzerSupport] Move functions from FuzzerUtil to FuzzerSupport lib..
mpividori updated this object.
mpividori added reviewers: kcc, zturner.
mpividori set the repository for this revision to rL LLVM.
mpividori added a subscriber: llvm-commits.
aizatsky edited edge metadata.Dec 20 2016, 1:41 PM

What's the logic of this move? I thought that Support/ will have platform-dependent stuff only.

@aizatsky I decided to include in the FuzzerSupport all general IO and Util functions that doesn't depend on the Fuzzer implementation. Some stuff is platform-dependent, some stuff isn't.

aizatsky requested changes to this revision.Dec 20 2016, 2:27 PM
aizatsky edited edge metadata.

I'll defer to Kostya here but I don't think you should do it. I don't see how the code would benefit from this move => it is better to keep these utilities as is.

This revision now requires changes to proceed.Dec 20 2016, 2:27 PM
zturner edited edge metadata.Dec 21 2016, 10:08 AM

One argument I can see *for* the move is that it would mimic LLVM's model of its Support directory.

Whether there is enough benefit in that to merit the code churn is a different story though. So as aizatsky@ says, let's see what kcc@ says.

mpividori abandoned this revision.Jan 4 2017, 6:08 PM