This is an archive of the discontinued LLVM Phabricator instance.

Add -fsanitize=fuzzer-no-link flag to the driver.
ClosedPublic

Authored by george.karpenkov on Aug 10 2017, 6:45 PM.

Details

Summary
The flag will perform instrumentation necessary to the fuzzing,
but will NOT link libLLVMFuzzer.a library.
Necessary when modifying CFLAGS for projects which may produce
executables as well as a fuzzable target.

Diff Detail

Repository
rL LLVM

Event Timeline

kcc accepted this revision.Aug 10 2017, 6:47 PM

LGTM, thanks!
But please also change the docs.

This revision is now accepted and ready to land.Aug 10 2017, 6:47 PM

which one, libFuzzer.rst?

This revision was automatically updated to reflect the committed changes.