[all-commits] [llvm/llvm-project] 0b3278: [libfuzzer] Fix build error due to out-of-line def...

Jie Fu via All-commits all-commits at lists.llvm.org
Thu Mar 9 22:53:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b327814d86c7e09a6932efdbff6c83e55a2f06c
      https://github.com/llvm/llvm-project/commit/0b327814d86c7e09a6932efdbff6c83e55a2f06c
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M compiler-rt/lib/fuzzer/FuzzerInternal.h

  Log Message:
  -----------
  [libfuzzer] Fix build error due to out-of-line definition of 'Fuzzer' does not match any declaration in 'fuzzer::Fuzzer' (NFC)

/data/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:138:9: error: out-of-line definition of 'Fuzzer' does not match any declaration in 'fuzzer::Fuzzer'
Fuzzer::Fuzzer(UserCallback CB, InputCorpus &Corpus, MutationDispatcher &MD,
        ^~~~~~
/data/llvm-project/compiler-rt/lib/fuzzer/FuzzerInternal.h:35:10: note: type of 4th parameter of member declaration does not match definition ('fuzzer::FuzzingOptions &' vs 'const fuzzer::FuzzingOptions &')
         FuzzingOptions &Options);
         ^
1 error generated.




More information about the All-commits mailing list