[all-commits] [llvm/llvm-project] 2e8249: [fuzzer][afl] Fix build with GCC

Kostya Serebryany via All-commits all-commits at lists.llvm.org
Tue May 26 11:36:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e824925402f011c2a4d3a0b51cce388b6d14d16
      https://github.com/llvm/llvm-project/commit/2e824925402f011c2a4d3a0b51cce388b6d14d16
  Author: Kostya Serebryany <kcc at google.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M compiler-rt/lib/fuzzer/afl/afl_driver.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list