HomePhabricator

[fuzzer][afl] Fix build with GCC

Authored by kcc on May 26 2020, 11:31 AM.

Description

[fuzzer][afl] Fix build with GCC

Summary:
Fixes this build error with GCC 9.3.0:

../lib/fuzzer/afl/afl_driver.cpp:114:30: error: expected unqualified-id before string constant
  114 | __attribute__((weak)) extern "C" void __sanitizer_set_report_fd(void *);
      |                              ^~~

Reviewers: metzman, kcc

Reviewed By: kcc

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D80479

Details

Committed
kccMay 26 2020, 11:35 AM
Reviewer
kcc
Differential Revision
D80479: [fuzzer][afl] Fix build with GCC
Parents
rGa94e08d2e840: [StaticAnalyzer] Fix non-virtual destructor warning
Branches
Unknown
Tags
Unknown