[fuzzer][afl] Fix build with GCC
authorKostya Serebryany <kcc@google.com>
Tue, 26 May 2020 18:31:24 +0000 (11:31 -0700)
committerKostya Serebryany <kcc@google.com>
Tue, 26 May 2020 18:35:50 +0000 (11:35 -0700)
commit2e824925402f011c2a4d3a0b51cce388b6d14d16
tree0d7dbe74a78b940838afc4d171d6f413b2b8cf60
parenta94e08d2e840a0e7ce032f59e9344bc49b5a54a1
[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
compiler-rt/lib/fuzzer/afl/afl_driver.cpp