This is an archive of the discontinued LLVM Phabricator instance.

[fuzzer][afl] Fix build with GCC
ClosedPublic

Authored by orivej on May 23 2020, 1:53 PM.

Details

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 *);
      |                              ^~~

Diff Detail

Event Timeline

orivej created this revision.May 23 2020, 1:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2020, 1:53 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript

If you approve please merge on my behalf.

kcc accepted this revision.May 26 2020, 11:32 AM
This revision is now accepted and ready to land.May 26 2020, 11:32 AM
This revision was automatically updated to reflect the committed changes.