Replace fuzzer::FuzzerDriver's INTERFACE marking with new LLVMRunFuzzerDriver.
authorMatt Morehouse <mascasa@google.com>
Mon, 27 Jul 2020 18:15:35 +0000 (18:15 +0000)
committerMatt Morehouse <mascasa@google.com>
Mon, 27 Jul 2020 18:38:04 +0000 (18:38 +0000)
commit34ddf0b2b040918a6c946f589eeaf1d4fef95e7a
tree738110a7e4c54454da160d88469fc441d6415c62
parentb52b2e1c188072e3cbc91500cfd503fb26d50ffc
Replace fuzzer::FuzzerDriver's INTERFACE marking with new LLVMRunFuzzerDriver.

This adds a new extern "C" function that serves the same purpose. This removes the need for external users to depend on internal headers in order to use this feature. It also standardizes the interface in a way that other fuzzing engines will be able to match.

Patch By: IanPudney

Reviewed By: kcc

Differential Revision: https://reviews.llvm.org/D84561
compiler-rt/lib/fuzzer/FuzzerDriver.cpp
llvm/docs/LibFuzzer.rst